/* Modulo Search*/
.searchBox{display:none;}
.autocompletar{
 position:absolute;
 background:#ffffff;
 border: 1px solid;
 border-color: #cfd7da;
 border-left:3px solid #4f90ba;
 margin: 0;
 margin-left:1px;
 margin-top:-1px;
 z-index: 100;
}
.autocompletar .option,.autocompletar .no_option{
 font-family:'Arial';
 font-size:14px;
 padding: 7px 3px 5px 20px;
 background: url('../images/icon/mapIcon.png') 2px center no-repeat;
 color: #383838;
 
}
.autocompletar .option
{
 cursor:pointer;
}
.detItem
{
    float:left;
    margin-right:2px;

}
.detItems
{
    position: relative;
    overflow: hidden;
    padding: 5px;
}
.pointer
{
    cursor:pointer;
}
.hidden
{
    display: none;
}
.left{float:left}
.block{display: block}
.float_content{position: relative;overflow: hidden}
.title_content{
    padding: 5px 10px 3px 10px;
    margin:0;
}
.title_content .btn{
    padding: 4px;
    margin-left: 10px; 
}
.panel-webdef .panel-body.fil-table{
    background: #fff;
    color: #383838;
}
.panel-body.fil-table .control-label{
    text-shadow: none;
    color: #383838;
}
.modal-body .panel-body{
    background: #f6f6f6;
    text-align: left;
    color: #383838;
    margin:-19px;
}

.modal-body .fil-table .control-label,.modal-body .panel-body label.control-label{
    color: #383838;
    text-shadow: none;
}
@media (min-width: 768px){
    .modal-body .panel-body .col-xs-1, .modal-body .panel-body .col-sm-1, .modal-body .panel-body .col-md-1, .modal-body .panel-body .col-lg-1, .modal-body .panel-body .col-xs-2, .modal-body .panel-body .col-sm-2, .modal-body .panel-body .col-md-2, .modal-body .panel-body .col-lg-2, .modal-body .panel-body .col-xs-3, .modal-body .panel-body .col-sm-3, .modal-body .panel-body .col-md-3, .modal-body .panel-body .col-lg-3, .modal-body .panel-body .col-xs-4, .modal-body .panel-body .col-sm-4, .modal-body .panel-body .col-md-4, .modal-body .panel-body .col-lg-4, .modal-body .panel-body .col-xs-5, .modal-body .panel-body .col-sm-5, .modal-body .panel-body .col-md-5, .modal-body .panel-body .col-lg-5, .modal-body .panel-body .col-xs-6, .modal-body .panel-body .col-sm-6, .modal-body .panel-body .col-md-6, .modal-body .panel-body .col-lg-6, .modal-body .panel-body .col-xs-7, .modal-body .panel-body .col-sm-7, .modal-body .panel-body .col-md-7, .modal-body .panel-body .col-lg-7, .modal-body .panel-body .col-xs-8, .modal-body .panel-body .col-sm-8, .modal-body .panel-body .col-md-8, .modal-body .panel-body .col-lg-8, .modal-body .panel-body .col-xs-9, .modal-body .panel-body .col-sm-9, .modal-body .panel-body .col-md-9, .modal-body .panel-body .col-lg-9, .modal-body .panel-body .col-xs-10, .modal-body .panel-body .col-sm-10, .modal-body .panel-body .col-md-10, .modal-body .panel-body .col-lg-10, .modal-body .panel-body .col-xs-11, .modal-body .panel-body .col-sm-11, .modal-body .panel-body .col-md-11, .modal-body .panel-body .col-lg-11, .modal-body .panel-body .col-xs-12, .modal-body .panel-body .col-sm-12, .modal-body .panel-body .col-md-12, .modal-body .panel-body .col-lg-12{
        position: relative;
        min-height: 1px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
    }
    .modal-body .panel-body .form-control{
        display: block;
        width: 100%;
        height: 38px;
        padding: 7px 12px;
        font-size: 14px;
        line-height: 1.42857143;
        color: #555555;
        background-color: #ffffff;
        background-image: none;
        border: 1px solid #e7e7e7;
        border-radius: 4px;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
        -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
        -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
        transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    }
    .modal-body .panel-body .form-group {
        display: block;
        margin-bottom: 5px;
        vertical-align: middle;
        margin-left: -15px;
        margin-right: -15px;
    }
    .modal-body .panel-body .form-horizontal .control-label {
        text-align: left;
        margin-bottom: 3px;
        padding-top: 3px;
        padding-left:5px;
    }
    .modal-body .panel-body label.error{
        position: relative;
        display: block;
        width:100%;
        margin:3px;
        padding-left:10px;
    }
    .modal-body .panel-body .btn.btn-danger.btn-sm{
        width: 100%;
    }
    
}
/* Fin Modulo Search*/

/* DataTables styles */
.dataTablesWrapper .row{
    margin-bottom:0px;
    margin-top:0px;
}


table.table_style.blue thead,table.table_style.blue tbody{
    font-family: 'Calibri';
    font-size: 16px;
    
}
table.table_style.blue.small thead{
    font-size:12px;
}
table.table_style.blue thead tr th{
    background: #000000;
    padding: 5px 10px 5px 10px;
    color: #fff;
    padding-left:10px;
    border-bottom: 1px solid #000000;
    text-shadow: 1px -1px #000000;
    font-weight: bold;
    text-align: left;
}

table.table_style.blue tbody tr td{
    padding: 5px 10px 5px 10px;
    font-size:14px;
    text-align: left;
}

table.table_style.blue tbody tr.selected{
    border-color: #006cb1;
}
table.table_style.blue tbody tr.selected td{
    background: #5b8cac;
    color: #fff;
}
table.table_style.blue.small tbody tr td{
    padding: 3px 5px 3px 5px;
    font-size:12px;
    text-align: left;
}
table.table_style.blue tbody tr.odd{
    background: #f6f6f6;
    color: #676767;
}
table.table_style.blue tbody tr.even{
    background: #e8e8e8;
    color:  #676767;
}

td.dt-right .btn{
    float:right;
    padding:3px 5px 3px 5px;
    margin-left:5px;
    font-size: 12px;
}
table.table_style.blue tbody tr td.dt-right{
    text-align: right;
}
table.table_style.blue tbody tr td.dt-center{
    text-align: center;
}
table.table_style.blue tbody tr td.deta-center{
    text-align: center;
    width:400px;
}
table.table_style.blue tbody tr td.medio-center{
    text-align: center;
    width:250px;
}
table.table_style.blue tbody tr td.dt-left{
    text-align: left;
}
/* Facturador */
.flRight{ float: right; }
.flLeft { float: left; }
.align-right{ text-align: right;}

#abm_form.facturador input.form-control:focus{
    border-color: #0079b6;
}
.form-control.input-codi.not_found:focus{
    animation: blink .2s step-end 6 alternate;
    border-color: #e71a1a!important;
    -webkit-box-shadow: 0px 0px 5px 1px #e71a1a;
    -moz-box-shadow: 0px 0px 5px 1px #e71a1a;
    box-shadow: 0px 0px 5px 1px #e71a1a;
}
@keyframes blink { 
    50% { 
        border-color: #000;
        -webkit-box-shadow: 0px 0px 5px 1px #000;
        -moz-box-shadow: 0px 0px 5px 1px #000;
        box-shadow: 0px 0px 5px 1px #000;
     } 
 }
#detalle_articulos, #add_articulos, #detalle_totales, #detalle_obs{
    position: relative;
    overflow: hidden;
    border-top:3px solid #006cb1;
    background: #e7e7e7;
    margin: 0;
}

#add_articulos .col-md-12{
    margin: 10px 0 5px 0;
}
#add_articulos .col-md-4
{
    padding-left: 5px;
}
#add_articulos .input-codi{
    
    width: 250px!important;
    display: block;
    float:left;
    
}

input#input_search_articulo::placeholder{
    font-style: italic;
}

#add_current_art{
    display: block;
    

}

span.box_color{
    display: block;
    width:20px;
    height: 20px;
    float:right;
}

#detalle_totales, #detalle_obs{
    border-top:3px solid #63ba45;
    padding-top:10px;
    padding-bottom: 10px;
    background: #f6f6f6;
    
}
#detalle_obs{
    border-color: #676767
}
#detalle_totales label.control-label{
    color:#383838;
    text-shadow: none;
}
#detalle_totales #total_input{
    float:right;
    margin-right: 20px;
    margin-bottom: 5px;
}
#detalle_totales #total_input.iva1, #detalle_totales #total_input.iva2{
    width: 100px;
}
#detalle_totales .form-group.col-md-8 #detalle_totales .form-group.col-md-4{
    padding: 5px;
}
#detalle_totales .form-group.col-md-12{
    margin-top:10px;
}
#detalle_totales .control-label{
    display: block;
}

/* bootbox */
span.bt-title
{
  font-size:16px;
  font-weight: bold;
  display: block;

}
span.bt-title.danger
{
  color: #e71a1a;
}
span.bt-title.warning
{
  color: #e71a1a;
}
span.bt-title.primary
{
  color: #428dcb;
}
span.bt-title.success
{
  color: #428dcb;
}
span.bt-cont
{
  font-size:14px;
  display: block;
  padding-top: 5px;
  padding-left: 10px;
}

#talonario{
    font-size:24px;
    color: #383838;
    float:right;
    margin-right:50px;
    margin-top:25px;
}
#talonario span.letra::after,#talonario span.pv_nume::after{
    content: ' -';
}

/* info articulo */
#info_articulo{
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 100px;
    
}
#info_articulo .load_box{
    width: 100%;
    height: 100%;
    position: absolute;
    background: #383838;
    opacity: .4;
    border:1px solid #383838;
    border-radius: 5px;
    display:none;
}
#info_articulo.loadart .load_box{
    display: block;
}
span.item_loading{
    width:40px;
    height:40px;
    background: transparent url('../img/loading.gif') no-repeat center center;
    background-size: 40px 40px;
}
#info_articulo .load_box span.item_loading{
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    display: block;
}

.art_img_title{
    padding:5px;
    font-size:12px;
    background: #4f90ba;
    color: #f6f6f6;
    text-shadow: 1px -1px #0079b6;
    text-align: center;
    border-radius: 5px 5px 0 0;
}
.info_deta{
    margin-top:5px;
    text-align: center;
}

.art_img{
    width: 100%;
    border:1px solid #006cb1;
    margin:0;
    padding: 0;
    min-height: 100px;
    max-height: 100px!important;
    text-align: center;
    margin-bottom: 5px;
    border-radius: 0 0 5px 5px ;
}
.art_img img.img-responsive{
    padding: 2px;
    width: 100%;
    height: 100px!important; 
}
.deta_title{
    background: #cc5353;
    color: #ffc2c2;
    text-shadow: 1px -1px #c05050;
    border: 1px solid #d74343;
    padding:1px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
}
#info_deta .deta_title:first-of-type{
    border-radius: 5px 5px 0 0;
}
#info_deta .deta_cont:last-of-type{
    border-bottom: 1px solid #ccc;
    border-radius: 0 0 5px 5px ;
}
.deta_cont{
    padding:1px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    text-align: center;
}
#info_precios{
    margin-top:5px;
    border:1px solid #ccc;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}
#info_precios .row_pre_codi{
    width:20%;
    float:left;
    padding: 2px;
    background: #ccc;
    border-bottom:1px solid #ccc;
}
#info_precios .row_pre{
    width:80%;
    float:left;
    padding: 2px;
    text-align: right;
    font-weight: bold;
    border-bottom:1px dashed #bbb;
}
#info_precios .row_pre:last-of-type{  
    border-bottom:0;
}

.art_ultact_title{
    margin-top: 5px;
    background: #cc5353;
    color: #ffc2c2;
    text-shadow: 1px -1px #c05050;
    border: 1px solid #d74343;
    padding:1px;
    font-weight: bold;
    text-align: center;
    border-radius: 5px 5px 0 0;
}
#info_ultact{
    padding:1px;
    border: 1px solid #ccc;
    border-top:0;
    text-align: center;
    border-radius: 0 0 5px 5px ;
}