﻿/*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;
}

#example,
#scheduler {
    margin: 0;
    padding: 0;
    height: 100%;
    border-width: 0;
}

.k-reset.k-scheduler-navigation > ul > li, .k-reset.k-scheduler-navigation > ul > li:hover {
    border-color: #f56600;
}

.k-grid-header, .k-grouping-header, .k-header, .k-pager-wrap, .k-panelbar .k-tabstrip-items .k-item, .k-state-highlight, .k-state-hover {
    background-color: #f56600;
    border-color: #f56600;
}

k-reset k-scheduler-navigation {
    background-color: #f56600;
    border-color: #f56600;
}

.k-gantt > .k-header li, .k-scheduler .k-header .k-link, .k-scheduler .k-header li {
    border-color: #f56600;
    background-color: #f56600;
}

    .k-gantt > .k-header li:hover, .k-scheduler .k-header .k-link, .k-scheduler .k-header li:hover {
        border-color: #f56600;
        background-color: #f56600;
    }


.k-scheduler-timecolumn {
    display: none;
}

table.k-scheduler-layout.k-scheduler-monthview .k-event {
    cursor: pointer;
    line-height: 25px;
    text-align: center;
    background-color: transparent;
    border: none;
}

    table.k-scheduler-layout.k-scheduler-monthview .k-event span[class^='moneda'] {
        display: block;
        background-color: #707070;
    }

    table.k-scheduler-layout.k-scheduler-monthview .k-event span.moneda-MXN {
        background-color: #f56600;
    }

    table.k-scheduler-layout.k-scheduler-monthview .k-event span.moneda-USD {
        background-color: #24c6db;
    }

/*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-item.k-state-focused {
    border: none;
}

.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);
}




span.k-widget.k-dropdown.k-header {
    background-color: transparent;
}


.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;
}

.k-nav-current > .k-link span + span {
    max-width: 200px;
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    vertical-align: top;
}

.k-edge .k-scheduler-toolbar > ul.k-scheduler-views, .k-ff .k-scheduler-toolbar > ul.k-scheduler-views, .k-ie11 .k-scheduler-toolbar > ul.k-scheduler-views, .k-safari .k-scheduler-toolbar > ul.k-scheduler-views, .k-webkit .k-scheduler-toolbar > ul.k-scheduler-views {
    z-index: 100;
    background-color: #f56600;
}

@media only screen and (max-width: 1024px) {
    .k-edge.k-gantt-toolbar > ul.k-gantt-views > li.k-current-view, .k-edge .k-gantt-toolbar > ul.k-gantt-views > li.k-current-view:hover, .k-edge .k-scheduler-toolbar > ul.k-scheduler-views > li.k-current-view, .k-edge .k-scheduler-toolbar > ul.k-scheduler-views > li.k-current-view:hover, .k-ff .k-gantt-toolbar > ul.k-gantt-views > li.k-current-view, .k-ff .k-gantt-toolbar > ul.k-gantt-views > li.k-current-view:hover, .k-ff .k-scheduler-toolbar > ul.k-scheduler-views > li.k-current-view, .k-ff .k-scheduler-toolbar > ul.k-scheduler-views > li.k-current-view:hover, .k-ie11 .k-gantt-toolbar > ul.k-gantt-views > li.k-current-view, .k-ie11 .k-gantt-toolbar > ul.k-gantt-views > li.k-current-view:hover, .k-ie11 .k-scheduler-toolbar > ul.k-scheduler-views > li.k-current-view, .k-ie11 .k-scheduler-toolbar > ul.k-scheduler-views > li.k-current-view:hover, .k-safari .k-gantt-toolbar > ul.k-gantt-views > li.k-current-view, .k-safari .k-gantt-toolbar > ul.k-gantt-views > li.k-current-view:hover, .k-safari .k-scheduler-toolbar > ul.k-scheduler-views > li.k-current-view, .k-safari .k-scheduler-toolbar > ul.k-scheduler-views > li.k-current-view:hover, .k-webkit .k-gantt-toolbar > ul.k-gantt-views > li.k-current-view, .k-webkit .k-gantt-toolbar > ul.k-gantt-views > li.k-current-view:hover, .k-webkit .k-scheduler-toolbar > ul.k-scheduler-views > li.k-current-view, .k-webkit .k-scheduler-toolbar > ul.k-scheduler-views > li.k-current-view:hover {
        background-position: 50% 50%;
        color: #fff;
        background-color: #f56600;
        border-color: #f56600;
        text-align: right;
    }
}

.k-scheduler .k-header .k-button:hover, .k-scheduler .k-scheduler-toolbar .k-scheduler-views li.k-state-hover, .k-scheduler .k-scheduler-toolbar .k-scheduler-views li.k-state-hover .k-link {
    background-color: #f56600;
    border-color: #f56600;
}

.k-scheduler .k-scheduler-toolbar .k-state-selected, .k-scheduler .k-scheduler-toolbar ul li.k-state-hover {
    background-color: #f56600;
    border-color: #f56600;
}

.k-scheduler-footer > ul > li, .k-scheduler-toolbar > ul > li {
    display: inline-block;
    border-style: solid;
    border-width: 1px 1px 1px 0;
}

.k-scheduler-toolbar > ul.k-scheduler-views > li.k-current-view {
    display: none;
}

@media only screen and (max-width: 1024px) {

    .k-edge.k-scheduler-toolbar > ul.k-scheduler-views > li.k-current-view, .k-ff .k-scheduler-toolbar > ul.k-scheduler-views > li.k-current-view, .k-ie11 .k-scheduler-toolbar > ul.k-scheduler-views > li.k-current-view, .k-safari .k-scheduler-toolbar > ul.k-scheduler-views > li.k-current-view, .k-webkit .k-scheduler-toolbar > ul.k-scheduler-views > li.k-current-view {
        display: none;
        border-width: 1px;
    }


    .k-edge .k-scheduler-toolbar > ul.k-scheduler-views > li:not(.k-current-view), .k-ff .k-scheduler-toolbar > ul.k-scheduler-views > li:not(.k-current-view), .k-ie11 .k-scheduler-toolbar > ul.k-scheduler-views > li:not(.k-current-view), .k-safari .k-scheduler-toolbar > ul.k-scheduler-views > li:not(.k-current-view), .k-webkit .k-scheduler-toolbar > ul.k-scheduler-views > li:not(.k-current-view) {
        display: block;
        float: left;
    }
}

.k-scheduler-table td.k-state-selected {
    background-color: transparent;
}

#ppCalendario tbody {
    background-color: white;
}

/*Estilo mensaje de error */
.k-widget.k-tooltip-validation {
    color: #ffc147;
    background-color: transparent;
    border-color: transparent;
    position: absolute;
    top: 36px;
    min-width: 120px;
    font-size: 12px;
    text-align: right;
    z-index: 9999;
    left: 0;
}


/*Flat table*/
/*#dvRecibosFiltros .k-animation-container,
#dvRecibosFiltros .k-animation-container *,
#dvRecibosFiltros .k-animation-container :after,
#dvRecibosFiltros .k-block .k-header,
#dvRecibosFiltros .k-dialog .k-window-content,
#dvRecibosFiltros .k-list-container,*/
#dvRecibosFiltros .k-widget,
#dvRecibosFiltros .k-widget *,
#dvRecibosFiltros .k-widget :before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}



/*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;
}



/*Estilo datepicker*/
.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;
}


/* spinner visible en combo deshabilitado*/
span.k-dropdown-wrap.k-state-disabled .k-icon {
    opacity: 1;
}



/*  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 DEL GRID

*/
.placeholder {
    /*color: #9e9e9e;*/
    color: #32364c;
}

/*Estilo Grid*/

#contenedorGridFacturas,
#gridFacturas, #gridDetalle {
    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;
}

#contenedorGridFacturas .k-filter-row th, .k-grid-header th.k-header {
    white-space: normal;
}

#contenedorGridFacturas thead tr {
    /*height: 42px;*/
}

#contenedorGridFacturas {
    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;
}


div.k-grid-header {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
    box-shadow: none;
    height: 42px;
}


.k-grid-content.k-auto-scrollable {
    /*border-left: 1px solid #e0e0e0;
        border-right: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;*/
    border: none;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    height: calc(400px - 42px);
}


.k-grid-content tr {
    cursor: default;
    /*box-shadow: 1px 1px 4px inset #d6d6d6;*/
}

.k-grid-header-wrap {
    line-height: 2em;
}


a.k-grid-filter.k-state-active span {
    color: #f56600;
}

/* Estilo para los móviles*/
@media (max-width: 360px) {
}





/*Estilo a encabezados particulares - Facturas
    { "unidadOperativa": 2, "proveedor": "DQS091125F", "factura": 10595, "fecha": "05/11/2018", "moneda": "USD", "montoFactura": 13166.04, "montoPago": 13166.04 }
*/
.k-grid-header th.k-header[data-field="fecha"] {
    text-align: center;
}

.k-grid-header th.k-header[data-field="moneda"] {
    text-align: center;
}

.k-grid-header th.k-header[data-field="moneda"] {
    text-align: center;
}

.k-grid-header th.k-header[data-field="montoFactura"] {
    text-align: right;
}

.k-grid-header th.k-header[data-field="montoPago"] {
    text-align: right;
}

.k-grid.k-widget {
    border: none;
}


/*Estilo encabezado detalle*/


.k-grid-header th.k-header[data-field="uom"] {
    text-align: center;
}

.k-grid-header th.k-header[data-field="cantidad"] {
    text-align: right;
}

.k-grid-header th.k-header[data-field="precio"] {
    text-align: right;
}

.k-grid-header th.k-header[data-field="importe"] {
    text-align: right;
}


/*th, td { border: 1px solid lightgreen !important;}*/

.k-grid-content.k-auto-scrollable {
    overflow: hidden;
}

/*Ajustar color de todos los elementos del popup*/

.pp-pop-facturas div {
    color: #232F34 !important;
}

    .pp-pop-facturas div.bread-crum {
        color: #ffffff !important;
    }

/* Ajustar color de los titulos de columna detalle*/
.pp-pop-detalle-grow .k-grid-header .k-header {
    color: #333;
    font-weight: 500;
}

.pp-pop-detalle-grow .k-grid tr:hover {
    background-color: transparent;
}


.table-responsive-vertical {
    height: 100%;
    overflow: auto;
    position: relative;
}

.k-scheduler-content .k-scheduler-table .k-task {
    cursor: pointer;
}

.espacio-totales {
    display: inline-block;
    width: 30px;
}



/*     notificacion programacion pagos   */
.md-sb {
    position: absolute;
    left: 20px;
    top: auto;
    right: auto;
    bottom: 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    max-width: 500px;
    min-height: 48px;
    min-width: 344px;
    padding: 16px 8px 16px 16px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-align: baseline;
    -webkit-align-items: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    border-radius: 6px;
    background-color: #333;
    color: #fff;
    font-size: 16px;
    line-height: 18px;
    text-align: justify;
}

    .md-sb.sb-w-action {
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }

    .md-sb.sb-w-action-l {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

.sb-text {
    padding-right: 8px;
}


.sb-action {
    margin-left: 8px;
    padding: 8px;
    -webkit-align-self: flex-end;
    -ms-flex-item-align: end;
    align-self: flex-end;
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    -webkit-box-flex: 0;
    -webkit-flex: 0 auto;
    -ms-flex: 0 auto;
    flex: 0 auto;
    color: #ff973e;
    font-weight: 400;
    cursor: pointer;
}
