.cambiar{
    background-color: blueviolet;
    color: white;
    border-radius: 15px;
    height: 30px;
    width: 30px;
    text-align: center;
    line-height: 2;
}
.devolver{
    background-color: red;
    color: white;
    border-radius: 15px;
    height: 30px;
    width: 30px;
    text-align: center;
    line-height: 2;
}
a:hover{
    color: white;
    text-decoration: none;
}




.select2-container--default .select2-results__option[aria-disabled=true] {
    display: none;
}

.select2-results__option[aria-disabled=true] {
    display: none;
}

.select2-container--default .select2-results__option.optInvisible {
display: none;}

@media (max-width: 1199.98px) {
    .articulo{
        border: 1px solid #dee2e6!important;
        padding: 1rem !important;
    }
    #anadir{
        margin: 1rem !important;
    }
    #nuevos{
        margin: 1rem !important;
        margin-top: 0.5rem !important;
    }
    .button_cancelar{
        margin-top: 0.5rem !important;
    }
}


.accesos-directos{
    padding-top: 20px;
}
.errores{
    padding-top:20px;
}
#formularioFactura .pull-right,
#formularioPresupuesto .pull-right{margin-top: -7px}

.estado-pendiente{
    display: block;
    padding: 5px 10px;
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    border-radius:10px;
    background: #292df2;
    color: #fff;
    margin:0 auto;
    text-align: center;
}
.estado-cancelado{
    display: block;
    padding: 5px 10px;
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    border-radius:10px;
    background: #f21e16;
    color: #fff;
    margin:0 auto;
    text-align: center;
}
.estado-facturado{
    display: block;
    padding: 5px 10px;
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    border-radius:10px;
    background: #65f229;
    color: #fff;
    margin:0 auto;
    text-align: center;
}
.estado-abonado{
    display: block;
    padding: 5px 10px;
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    border-radius:10px;
    background: #087b11;
    color: #fff;
    margin:0 auto;
    text-align: center;
}
.acciones span,
.acciones a{
    display: inline-block;
    cursor: pointer;
}
.overlay-cargando{
    display: none;
    background:rgba(255,255,255,0.5);
    position: fixed;
    top:0;
    left: 0;
    height: 100%;
    z-index: 9999;
    width: 100%;
}
.overlay-cargando img{
    display: block;
    margin: 0 auto;
    margin-top: 15%;
}
.eliminar_producto{margin-top: 25px}
#addProducto {
    margin: 5px 0px 10px 0px !important;
   
}

.panel-black {
    border-color: black;
}
.black{
    color:black;
}

.panel-black > .panel-heading {
    border-color: black;
    color: white;
    background-color: black;
}
.contenedor_numero_factura{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.contenedor_numero_factura .panel-body{
    display: flex;
flex-flow: column;
justify-content: center;
align-items: center;
}
.imprimir_factura_normal{
    margin-top:15px;
}

.logo-listar{
    max-width:100px;
    display:block;
    margin:0 auto;
}
.panel-grey {
    border-color: #5e5e5e;
    background-color: #5e5e5e;
}
.panel-grey > .panel-heading {
    color: white;
}
.panel-grey > a:hover {
    color: #5e5e5e;
}
.panel-grey > a {
    color: #5e5e5e;
}
.contenedor_respuesta_enviar{
     position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
}
#email_cliente{
    text-align: center;
}


.capa-gris{
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;

z-index: 1000;
}

.contenedor_clientes{
    display: flex;
    justify-content: space-between;
    align-content: center;
}

#jsGridClientes .jsgrid-grid-header .jsgrid-table,#jsGridClientes .jsgrid-grid-body .jsgrid-table {
    table-layout: fixed;
    min-width: 1500px; 
}
#jsGridFacturas .jsgrid-grid-header .jsgrid-table,#jsGridFacturas .jsgrid-grid-body .jsgrid-table {
    table-layout: fixed;
    min-width: 1000px; 
}
#jsGridPresupuestos .jsgrid-grid-header .jsgrid-table,#jsGridPresupuestos .jsgrid-grid-body .jsgrid-table {
    table-layout: fixed;
    min-width: 1200px; 
}
.select2{
    max-width:100%;
}
.contenedor_empresa{
    overflow-y:scroll;
}

@media(max-width:468px){
    .jsgrid-pager-page , .jsgrid-pager-nav-button , .jsgrid-pager-nav-button,.jsgrid-pager-nav-button {
    padding: .1em .2em;
    }
}

.contenedor_enviar {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
}

.capa-gris {
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.cerrar_contenedor{
    position: absolute;
    top: 4px;
    background: white;
    padding: 6px 10px;
    right: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 20px;
    line-height: 18px;


}

.contenedor_respuesta_enviar{
     position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
}

#cuentas.correo{
    width:100%;
}

#formulario-resumen .contenedor-boton-resumen span , #formulario-resumen .contenedor-boton-resumen a{
    min-width:45%;
}

.cerrar_menu{
    float: right;

    padding: 5px;

    background: #23527c;

    margin: 10px;
    cursor:pointer;
    color: white;
}

.mostrar_menu.fa, .fa.mostrar_menu:hover{
    display:none;
    cursor:pointer;
    position: fixed;
    top: 59px;
    left: 5px;
    background: #23527c;
    color: white;
    padding: 5px 7px;
    border-radius: 5px;


}
.mostrar_menu:hover{
    text-decoration:none;
}

.cerrado{
    display:none;
}

.navbar-top-links li a{
    display:inherit;
}

.mostrar_menu::before{
    font-size:18px;
}

@media(max-width: 768px){
    .mostrar_menu{
        display:none !important;
    }
}


.contenedor_pago_parcial{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.contenedor_pago_parcial .panel-body{
    display: flex;
flex-flow: column;
justify-content: center;
align-items: center;
}

.contenedor_abono{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    min-width:40%;
}

.contenedor_abono .panel-body{
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;

}
.estado-pago-parcial {
    display: block;
    padding: 5px 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background: #ba3a21;
    color: #fff;
    margin: 0 auto;
    text-align: center;
}
.observaciones_abono{
    width:100%;
}
.fa.mostrar_menu{
    display:none;
}

.mas-opciones{
    position: absolute;
    right:0px;
    min-width:150px;
    z-index: 5;
}

.acciones{
    position: relative;
    text-align:right;
}

.mas-opciones ul li a{
    display:flex;
    align-items: center;
    justify-content: space-between;
}

.mas-opciones ul li a img{
    margin-right:5px;
}

.mas-opciones ul li{
    display:block;
    margin:0 auto;
    width:100%;
    padding:5px;
}

.mas-opciones ul {

    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: start;
  
    border-radius: 5px;

}

.enlace_mas_opciones.abierto img{
    transform:rotate(180deg);
}

.jsgrid-cell {
    text-overflow: ellipsis;
    overflow: hidden;
}
#jsGridFacturas .jsgrid-grid-body .jsgrid-cell:last-child{
    overflow: visible;
}

@media (min-width: 992px){
    .col-table{
        padding: 0;
        margin-left: 15px;
        margin-right: 15px;
        width: 48%;
        float: left;
    }
}

@media (min-width: 992px) { 
    .ver-ordenador{
        display: inline !important;
    }
    .esconder-ordenador{
        display: none !important;
    }
}
@media (max-width: 991px) { 
    .ver-ordenador{
        display: none !important;
    }
    .esconder-ordenador{
        display: inline !important;
    }
}