/* LISTADO */

/* Sidebar */
.sidebar.sidebar-list .nav-title{
    margin-bottom: 0.5rem;
}
.sidebar.sidebar-list  .nav-item{
    margin-bottom: 0.5rem;
}
.sidebar.sidebar-list  .nav-item a{
    padding: .1rem 0.75rem;
}
.sidebar.sidebar-list  .nav-item .active .badge{
    background: #000;
}

/* Listado */
.compra-list{
    display: flex;
    flex-wrap: wrap;
}
.compra-list .articulo{
    width: calc(20% - 1rem);
    flex: 0 1 calc(20% - 1rem);
    margin: 0 0.5rem 1rem 0.5rem;

    border:1px solid #3F3F3F;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
    border-radius: 3px;
    background: #fff;
}
.compra-list .articulo .imagen{
    max-width: 100%;
}
.compra-list .articulo .imagen img{
    width: 100%;
    height: auto;
}
.compra-list .articulo .contenido{
    padding: 0.625rem;
}
.compra-list .articulo h3{
    color: #000;
    font-weight: 600;
    font-size: 1rem;
}
.compra-list .articulo .nombre{

}

/* renderjson */

.renderjson{
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857;
    word-break: break-all;
    word-wrap: break-word;
    color: #333333;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.renderjson a              { text-decoration: none; }
.renderjson .disclosure    { color: #000b43; font-size: 150%; }
.renderjson .syntax        { color: grey; }
.renderjson .string        { color: red; }
.renderjson .number        { color: #5796BA; }
.renderjson .boolean       { color: plum; }
.renderjson .key           { color: black; }
.renderjson .keyword       { color: lightgoldenrodyellow; }
.renderjson .object.syntax { color: lightseagreen; }
.renderjson .array.syntax  { color: lightsalmon; }

/* Bootstrap */
.modal-title{
    font-weight: 700;
}
.table tbody tr:nth-of-type(2n+1) {
    background-color: rgba(0, 0, 0, 0.025);
}
.table tbody tr:hover,
.table tbody tr:nth-of-type(2n+1):hover{
    background-color: rgba(0, 0, 0, 0.075);
}

.badge-estado{
    font-size: unset;
    font-weight: 400;
}

/* Pago */

.formulario_bonos h3{
    font-size: 1.2rem;
    color: #001476;
    line-height: 1.5;
    font-weight: 400;
    margin: 0 0 1rem;
}

.formulario_bonos .texto_legal{
    font-size: 0.75rem
}
.formulario_bonos .texto_legal b{
    font-weight: 600;
    color: #001476;
}

/**********************************/
/** PTE REVISAR **/
.main.iframe{
    width: 100%;
}

/*color bg título*/
.bg-title{
    background-color: #333;
}
/*color texto título e icono*/
.title-text{
    font-size: 0.95rem; /*15px*/
    color: #fff;
}

/* Home */
h4 span{
    color: #707070;
    font-size: 1rem
}

.card.card-home {
    border:1px solid #CED4DA;
    margin-bottom: 30px;
}
.card.card-home .icon {
    text-align: center;
    position: relative;
    display: inline-block;
    margin: 0 0 10px 0;
}
.card.card-home .icon .fas{
    color: #0F4DBC;
    font-size: 50px;
}
.card.card-home .icon .badge{
    position: absolute;
    top: -7px;
    right: -7px;
}
.card.card-home .h4 {
    margin: 0 0 10px 0;
}
.card.card-home p {
    color: #777F87;
    font-size: 14px;
    line-height: 1.2em;
}

/* Informes - Indicador */
.card-indicador{
    color: #444444;
}
.card-indicador h4{
    font-size: 15px;
    line-height: 1.1em;
    margin:0;
    font-weight: normal;
    color: #b8b8b8;
}
.card-indicador h4 span{
    padding: 2px 0 0 0;
    display: block;
    color: #0F4DBC;
    font-size: 17px;
    height: 1.2em;

    width: calc(100% - 34px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.card-indicador .value{
    color: #0F4DBC;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    line-height: 1em;
}
.card-indicador .percentage{
    font-size: 18px;
    color: #b8b8b8;
    text-align: center;
}
.card-indicador .progress-div{
    margin:5px 0 0 0;
    position: relative;
}

.card-indicador.card-indicador-euros h4 span{
    color: #5C5C5C;
}
.card-indicador.card-indicador-euros .value{
    color: #5C5C5C;
}
.card-indicador.card-indicador-euros .progress-bar{
    background: #5C5C5C;
}

/* Informes - Frecuencias y dinámicas */
.report .mb-3 {
    margin-bottom: 0.5rem !important;
}

.report h3 {
    font-size: 1rem;
    margin-bottom: 1rem !important;
}

.report-table {
    border: 1px solid;
    background: white;
}

.report-table thead th {
    text-align: center;
    padding: 0 0.20rem;
    color: black;
}

.report-table td {
    padding: 0.20rem 0.30rem;
}

.report-table tbody td {
    border-right: 1px solid;
}

.report-table.dynamics-table tbody td {
    max-width: 300px;
}

tr.content-border th {
    border: 1px solid;
}
.btn-red, .btn-red:hover {
    background-color:darkred;
    border-color:darkred;
}



/* Barra de acciones fija */

.fixedActions{
    position: fixed;
    bottom: -80px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px 0 #000;
    z-index: 10;
    transition: all 300ms ease;
    padding: 10px 0 10px 230px;
}
.fixedActions.show {
    bottom: 0;
}
.sidebar-minimized .fixedActions{
    padding-left: 56px;
}

/* Historia de estado */

.history_status{
    font-size: 0.875rem;
    text-align: left;
}

/* Iframe en swal */
.swal-iframe{
    width: 100% !important;
}
.iframeswal{
    width: 100%;
    height: calc(100vh - 190px);
    border:0;
}

/* Relacione 1-n de Flota */
.relation1n-vue-correduria .row:not(:last-child){
    border-bottom: 3px solid #EDEDED;
    margin-bottom: 1rem;
}

/**************************/
/* Print */
@media print {
    .web-footer,
    .sidebar,
    .web-header .header-minimizer,
    .header-search,
    .header-user,
    .fixedActions,
    .change-log,
    .form_actions{
        display: none;
    }
    .web-main{
        background: #fff;
        display: block;
        flex: unset;
    }
    main{
        min-height: unset;
        width: 100%;
    }
    .container-fluid{
        padding: 0;
    }

    /* Fix firefox */
    .card,
    .web-main,
    .web-body{
        display: block;
    }
}

@media print {
    #enviar_informe{
        /*content: none !important;*/
        display: none !important;
    }
    .relation1n-vue-lesionados button{
        display: none !important;
    }
}