﻿/* Move down content because we have a fixed navbar. Real height: navbar py
   16px + nav-link py 16px + line-height 24px = 56px (ya sin el logo, que se
   movió al footer), más un poco de aire para que el título no quede pegado
   al navbar. */
body {
    padding-top: 72px;
    padding-bottom: 20px;
    margin:0px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }
    .body-content {
        padding: 0;
    }
}
/*-------------- grid --------------------*/
.HeaderStyle {

}
.EditRowStyle {
    background-color:#E3E6E9;
    font-weight:bolder;
}
.RowStyle {
background-color:#F7F6F3;
color:#333333;
}
.FooterStyle {
    background-color:#5D7B9D;
    font-weight:bolder;
    color:white;
    }
.PagerStyle {
      padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
    font-size:12PX;
}
.PagerStyle table > tbody > tr > td {
    display: inline;
}
 
.PagerStyle table > tbody > tr > td > a,
.PagerStyle table > tbody > tr > td > span {
    position: relative;
    float: left;
    padding: 5px 10px;
    line-height: 1.42857143;
    text-decoration: none;
    /*color: #dd4814;*/
    background-color: #ffffff;
    border: 1px solid #dddddd;
    margin-left: -1px;
}
.Activo {
    font-weight:bold;
    color:blue;
} 
 .PagerStyle table > tbody > tr > td > span {
    position: relative;
    float: left;
    padding: 5px 10px;
    line-height: 1.42857143;
    text-decoration: none;    
    margin-left: -1px;
    z-index: 2;
    /*color: #aea79f;*/
    background-color: #f5f5f5;
    /*border-color: #dddddd;*/
    cursor: default;
}
 
.PagerStyle table > tbody > tr > td:first-child > a,
.PagerStyle table > tbody > tr > td:first-child > span {
    margin-left: 0;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}
 
.PagerStyle table > tbody > tr > td:last-child > a,
.PagerStyle table > tbody > tr > td:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}
 
.PagerStyle table > tbody > tr > td > a:hover,
.PagerStyle table > tbody > tr > td > span:hover,
.PagerStyle table > tbody > tr > td > a:focus,
.PagerStyle table > tbody > tr > td > span:focus {
    /*color: #97310e;*/
    background-color: #eeeeee;
    border-color: #dddddd;
}



.SelectedRowStyle {
  background-color:#284775;
    font-weight:bolder;
    color:white;
}
.SortedAscendingCellStyle {
    background-color:#E9E7E2;
}
.SortedAscendingHeaderStyle {
    background-color:#506C8C;
}
.SortedDescendingCellStyle {
    background-color:#FFFDF8;
}
.SortedDescendingHeaderStyle {
    background-color:#6F8DAE;
}
.AlternatingRowStyle {
     background-color:White;
    color:#284775;
}
.Grid {
    /*color:#fff;*/
}

/*-------------- grid --------------------*/
.v-center {
    vertical-align:middle;
}

/*-------------- KPI--------------------*/
.kpi {
    text-align: center;
    padding: 5px;
    margin: 10px;
    border: 1px;
    border-style: solid;
    border-radius: 4px;
}

    .kpi  .kpi-title {
        text-align: left;
        font-weight: lighter;
    }

    .kpi .kpi-value {
        font-size: 2rem;
    }

    
.kpi-Down {
    border-color: #cd0200;
}

.kpi-Up {
    border-color: #3cb521;
}

.kpi-Info {
    border-color: #3399f3;
}
.col-form-label {
    font-weight:600;
}
.kpi-client {
    margin-bottom: 1.5rem;
    max-width: 58rem;
}

.kpi-client__toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 1rem;
}
.kpi-client__periods {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    flex-wrap: wrap;
    background: var(--up-surface-100);
    padding: .2rem;
    border-radius: var(--up-radius-pill);
}

    .kpi-client__periods .btn.kpi-period {
        flex: 0 0 auto;
        width: auto;
        height: auto;
        min-height: 0;
        padding: .3rem .8rem;
        border: 0;
        border-radius: var(--up-radius-pill);
        line-height: 1.25;
        color: var(--up-ink-muted);
        font-weight: 500;
    }

        .kpi-client__periods .btn.kpi-period:hover {
            color: var(--up-brand-700);
            background: var(--up-brand-100);
        }

        .kpi-client__periods .btn.kpi-period.kpi-period--active {
            background: var(--up-brand-700);
            color: #fff;
            font-weight: 600;
        }

.kpi-client__sections {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .875rem;
}

.kpi-client__title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .5rem;
    color: var(--bs-secondary-color);
    font-size: .95rem;
    font-weight: 600;
}

.kpi-client__cards {
    display: grid;
    gap: .625rem;
}

.kpi-card {
    min-height: 5.25rem;
    padding: .7rem .8rem;
    border: 1px solid var(--bs-border-color);
    border-top: .25rem solid var(--bs-primary);
    border-radius: var(--bs-border-radius);
    background-color: var(--bs-body-bg);
    box-shadow: var(--bs-box-shadow-sm);
}

.kpi-card--info {
    border-top-color: var(--bs-info);
}

.kpi-card--success {
    border-top-color: var(--bs-success);
}

.kpi-card--danger {
    border-top-color: var(--bs-danger);
}

.kpi-card__title {
    margin-bottom: .55rem;
    color: var(--bs-secondary-color);
    font-size: .9rem;
}

.kpi-card__value {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .6rem;
    border-radius: 50rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

    .kpi-card__value .bi {
        font-size: .95rem;
    }

@media (max-width: 767.98px) {
    .kpi-client__toolbar {
        justify-content: flex-start;
    }

    .kpi-client__sections {
        grid-template-columns: 1fr;
    }
    .tipo-cambio-menu .btn {
        max-width: 100%;
        white-space: nowrap;
    }
}
.form-select {
    background-size:14px 10px;
}
.tipo-cambio-toggle {
    color: var(--up-brand-500) !important;
    font-size: .8rem;
}

    .tipo-cambio-toggle .bi {
        margin-right: .25rem;
    }
