﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
}

.footerForm {
    margin-top: 15px;
}

.highlight {
    font-weight: bold;
    color: #1f9743;
}

div.row-vertical-margins > div.row {
    margin-top: 20px;
    margin-bottom: 20px;
}

div.loaderMain {
    padding-bottom: 25px;
}

/* bootstrap-input-spinner */
.inputNumValAprox {
    padding: 0px;
}

.inputTextoValAprox {
    margin-left: 5px;
    margin-right: 5px;
    width: 90%;
    text-align: center;
}

input#caudalVent {
    margin-left: 0px;
    margin-right: 0px;
}

.btn-outline-secondary {
    width: 20px;
    padding: 0px;
}

.btn-decrement {
    margin-left: 5px;
}

.btn-increment {
    margin-right: 5px;
}

.margenTabla {
    margin-top: 6px;
}

.estanciasUsoObligado {
    background-color: #feed91;
}

/* Errores tablas ins ext*/
.errorTabla {
    font-size: small;
    font-style: italic;
    color: orangered;
    padding-left: 25px;
}
/* Errores tablas ins ext*/
.warningTabla {
    font-size: small;
    font-style: italic;
    color: orange;
    padding-left: 25px;
}
/* Ayuda caudales norma 138-I_2021 Portugal */
.ins {
    color: #C5E0B3;
}

.ins:hover {
    color: #70AD47;
}

.ext {
    color: #BDD6EE;
}

    .ext:hover {
        color: #5B9BD5;
    }

.help {
    border: 2px solid #ffffff;
    margin: 6px 0px 2px 0px;
    color: #6c757d;
}
.insHelpCabecera {
    background-color: #70AD47;
    color: white;
    font-weight: bolder;
}

.insHelpImpar {
    background-color: #C5E0B3;
}

.insHelpPar {
    background-color: #E2EFD9;
}

.extHelpCabecera {
    background-color: #5B9BD5;
    color: white;
}

.extHelpImpar {
    background-color: #BDD6EE;
}

.extHelpPar {
    background-color: #DEEAF6;
}

#extNotasHelp {
    font-size: small;
    color: #6c757d;
    margin: 0px 0px 6px 0px;
    border: 2px solid #ffffff;
}
.notasHelp {
    background-color: #DEEAF6;
}
/* FIN Ayuda caudales norma 138-I_2021 Portugal */ 

table#resultadoValoracion {
    border-color: #848484;
}

table#resultadoValoracion td {
    vertical-align: middle;
}

table#resultadoValoracion > thead > tr {
    /* Cabecera tabla */
    background-color: rgba(0,0,0,0.12);
    text-align: center;
}

tr.grupoProductos {
    font-style: italic;
    background-color: rgba(0,0,0,0.03);
}

tr.producto > td:first-child {
    /* Nombre producto */
    padding-left: 30px;
}

tr.producto > td:nth-of-type(2) {
    /* Cantidad */
    text-align: center;
}

tr.producto > td:nth-of-type(3) {
    /* Total */
    text-align: right;
}

tr.producto > td:last-child {
    /* Ficha técnica */
    text-align: center;
    color: #1f9743;
}

.hideValue {
    color: transparent;
}

/* Datagrids */
.dx-header-row > td[role="columnheader"] > div.dx-datagrid-text-content {
    color: darkslategray;
    font-weight: bold;
}

.dx-datagrid-search-text {
    background-color: #259743;
}

.dx-datagrid-table {
    font-family: Arial, sans-serif, Verdana;
}

tr.dx-data-row.dx-state-hover {
    background-color: #d9f6cc;
}
.dx-datagrid-rowsview .dx-row-focused.dx-data-row .dx-command-edit:not(.dx-focused) .dx-link,
.dx-datagrid-rowsview .dx-row-focused.dx-data-row > td:not(.dx-focused),
.dx-datagrid-rowsview .dx-row-focused.dx-data-row > tr > td:not(.dx-focused) {
    background-color: #b1c904;
}
.dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused) > td,
.dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused) > tr > td,
.dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover > td,
.dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover > tr > td {
    background-color: #b1c904;
}

.card-header {
    color: #1f9743;
    font-weight: 500;
}

.card-header :hover{
    text-decoration: none;
}

.card-header .fa {
    transition: .3s transform ease-in-out;
}

.card-header .collapsed .fa {
    transform: rotate(90deg);
}

div.card-margin-top {
    margin-top: 15px;
}

.something-else .fa {
    transition: .3s transform ease-in-out;
}

.something-else .collapsed .fa {
    transform: rotate(-90deg);
}

.collapsing {
    transition: height 0.15s ease;
}

/* Accesorios */
div.accesorio {
    margin-left: 20px;
}

.input-group-sm button {
    padding: 0px !important;
}

.input-group-sm input {
    height: 24px !important;
}

.input-group-sm button.btn-decrement {
    height: 24px;
}

.input-group-sm button.btn-increment {
    height: 24px;
}

div.precioAccesorio {
    text-align: right;
}

.accDeshabilitado {
    text-decoration: line-through;
}

.accObligatorio {
    color: red;
    font-style: italic;
}

div#selectorAccesorios {
    margin-left: 3px;
}

div.form-select {
    padding-left: 0px;
}

/* Counters */
.counter {
    background-color: #f5f5f5;
    padding: 20px 0;
    border-radius: 5px;
    color: #b1c904;
}

.count-title {
    font-size: 35px;
    font-weight: normal;
    margin-top: 5px;
    margin-bottom: 0;
    text-align: center;
    color: #1f9743;
}

.count-text {
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 0;
    text-align: center;
    color: #1f9743;
}

div.multiCounter {
    padding-left: 10px;
    padding-right: 10px;
}

h5.multiCounter {
    margin-top: 6px;
}

div.multiCounterSeparator {
    border-right: solid;
}

/* Select2 readonly */
.disabled-select {
    background-color: #d5d5d5;
    opacity: 0.5;
    border-radius: 3px;
    cursor: not-allowed;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

select[readonly].select2-hidden-accessible + .select2-container {
    pointer-events: none;
    touch-action: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
    background: #eee;
    box-shadow: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection__arrow,
select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {
    display: none;
}

#salesforceClear {
    color: #ad0000;
    margin-left: 5px;
    cursor: pointer;
}

#salesforceClear:hover {
    cursor: pointer;
    color: #eb0000;
}

/* Descuentos */

div.datosCliente {
    margin-bottom: 0px;
}

td.familia {
    color: #1f9743;
    font-weight:bold;
    padding: 0px;
    vertical-align: middle;
}

a.familia {
    padding-left: 12px;
}

td.subfamilia {
    padding-left: 45px;
}

tr.subfamilia > td {
    vertical-align: middle;
}

td.descuento {
    text-align: center;
    padding-left: 8px;
    padding-right: 8px;
}

.descuentoColNombre {
    width: 54%;
}

.descuentoColValor {
    width: 12%;
}

.descuentoColTotal {
    width: 10%;
}

td.descuentoLinealSubFam {
    padding-left: 0px;
    padding-right: 0px;
}

span.detalleDescuento {
    color: #6c757d;
    font-size: small;
}

tr.descuento:hover td{
    background-color: #d9f6cc;
}

td.hiddenRow {
    padding: 0 !important;
}

table.hiddenTable {
    margin: 0px;
}

a.nodecoration:hover {
    text-decoration: none;
}

td.descuentoTitulo {
    text-align: right;
    vertical-align: middle;
    color: #6c757d;
    padding-left: 0px;
}

span.descuentoTitulo {
    float: right;
    color: #6c757d;
}

.inputNumDescMax {
    background-color: #fbc6c6;
}

td.dtoTotalMax {
    background-color: #fbc6c6 !important;
}

i.alertDescMax {
    color: #e98500;
    float: right;
    margin-top: 4px;
    margin-right: -15px
}

i.alertCabDtoTotal {
    color: #e98500;
}

td.alertCabDtoTotal {
    text-align: center;
    vertical-align: middle;
}


/* Personalizaciones Devexpress */
.dx-overlay-wrapper {
    font-size: 1rem !important;
}

.dx-toast-message {
    white-space: pre-line !important;
} 

/* Selector idioma */
select#requestCulture_RequestCulture_UICulture_Name + button {
    outline: 0px !important;
}

form#selectLanguage {
    margin-right: 16px;
}

/* Resalta el borde del grid cuando está modificado */
.grid-dirty .dx-datagrid {
    border: 2px solid #e67e22 !important;
    box-shadow: 0 0 8px #e67e22;
}
/* O cambia el fondo del encabezado */
.grid-dirty .dx-datagrid-headers {
    background-color: #fff3cd !important;
}