/**************************************** CLASES PARA ITEMS HTML ******************************************************/

body {
    font-family: "Helvetica Neue",Roboto,Arial,"Droid Sans",sans-serif;
    /* color: #73879C; */
    background-color: #F7F7F7;
}

input, textarea, select {
    background-color:#FFF;
    border:1px solid #CCC;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-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;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #DDD !important;
}

input:focus, textarea:focus, select:focus {
    background-color:white;
}

input[type="text"],input[type="number"] {
    width:100%;
    padding:3px;
    color:#2f2b27;
    height:34px;
}

a {
    color: #2A3F54;
    cursor:pointer;
}

input[type="email"]
{
    width:100%;
    padding:5px;
    color:#2f2b27;
}

input[type="date"]
{
    width:100%;
    padding:5px;
    color:#2f2b27;
}

input[type="password"]
{
    width:100%;
    padding:5px;
    color:#2f2b27;
    height:34px;
}

input[type="checkbox"]
{
}

select
{
    width:100%;
    padding:5px;
    color:#2f2b27;
    height:34px;
}

textarea {
    width:100%;

}

h1
{
    font-size:1.6em;
    font-weight:normal;
    color:#666;
}

h2
{
    font-size:1.5em;
    font-weight:normal;
    color:#2F2B27;
    margin-bottom:10px;
}

h3
{
    font-size:1.3em;
    font-weight:normal;
    color:#2F2B27;
    margin-bottom:10px;
}

table
{
    border-collapse:collapse;
}

table a
{
    font-weight:bold;
    color:#7396BF;
    vertical-align:middle;
}

th {
    text-align:center;
}

td
{
    vertical-align:top;
    padding:5px;
}



/********** CLASES PARA BARRA SUPERIOR COMÚN *************/

#seccionheadermenu {
    background-color: #E1E1E8;
    padding: 0px;
}

#seccionheadermenu h3 {
    margin-bottom: 0px;
    margin-top: 0px;
    font-size: 1.1em;
}
#seccionheadermenu h3 a{
    margin-left: 10px !important;
    margin-right: 10px;
    color:#555;
}

/************ CLASES PARA BARRA DE MENÚ COMÚN *************/

.menuprincipal {
    background-color: #2A3F54;
}

.navbar {
    margin-bottom: 0;
}

.navbar-default {
    background-color: #2A3F54;
    border:0;
}

.navbar-default .navbar-nav>li>a {
    color: #E7E7E8;
    font-weight: 400;
    font-size: 15px;
    font-family:"Helvetica Neue",Arial;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    color: #555;
    background-color: #fff;
    font-weight: bold;
}

.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
    color: rgb(245,161,54);
    background-color: transparent;
}

/************ CLASES PARA ESTRUCTURA DEL CONTENIDO COMÚN *************/

.contenido {
    min-height: 800px;
    padding-bottom:20px;

}

.contenido th
{
    border-left:1px solid #F0F0F0;
    border-top:1px solid #F0F0F0;
    background-color:#F4F4F4;
    padding:10px;
    border-bottom:1px solid #CCC;
}

/************ CLASES PARA LA BARRA DE NAVEGACIÓN COMÚN *************/

.barranavegacion {
    border-bottom: 2px solid #EEE;
    margin-bottom: 30px;
}

.barranavegacion .botones a {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
    padding: 5px;
}

.barranavegacion span {
    font-size: 1em;
    padding: 5px;
    margin-top: 4px;
}

.barranavegacion .breadcrumb {
    padding: 0;
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
}

.breadcrumb li {
    font-size: 1.15em;
    color: #777;
}

/************ CLASES PARA LA BARRA DE NAVEGACIÓN COMÚN *************/



.navnohover:hover {
    background-color:#31b0d5 !important;
}


/************* CLASES PARA LAS ESTADÍSTICAS DEL PANEL DE INICIO ***************/

.tile_count {
    margin-bottom: 20px;
    margin-top: 20px;
}

.tile_count .tile_stats_count {
    margin-bottom: 10px;
    border-bottom: 0;
    padding-bottom: 10px;
    padding: 0 10px 0 20px;
    position: relative;
}

.tile_count .tile_stats_count, ul.quick-list li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tile_count .tile_stats_count span {
    font-size: 13px;
}

.tile_count .tile_stats_count, ul.quick-list li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tile_count .tile_stats_count .count {
    font-size: 32px;
}

.tile_count .tile_stats_count .count {
    line-height: 47px;
    font-weight: 600;
}

.static-ok {
    color: #1ABB9C;
}

.static-nk {
    color: #E74C3C;
}

/************* CLASES PARA LOS CUADROS DEL PANEL DE INICIO ***************/

.tile-stats {
    font-family: "Helvetica Neue",Arial;
    color: #73879C;
    position: relative;
    display: block;
    margin-bottom: 12px;
    border: 1px solid #E4E4E4;
    -webkit-border-radius: 5px;
    overflow: hidden;
    padding-bottom: 5px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 5px;
    -moz-background-clip: padding;
    border-radius: 5px;
    background: #FFF;
    transition: all .3s ease-in-out;
}

.tile-stats .count, .tile-stats h3, .tile-stats p {
    position: relative;
    margin: 0 0 0 10px;
    z-index: 5;
    padding: 0;
    font-size: 24px;
}

.tile-stats .count {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.65857;
}


.tile-stats .icon {
    width: 20px;
    height: 20px;
    color: #BAB8B8;
    position: absolute;
    right: 53px;
    top: 22px;
    z-index: 1;
}

.tile-stats h3 {
    color: #BAB8B8;
}

.tile-stats .count, .tile-stats h3, .tile-stats p {
    position: relative;
    margin: 0 0 0 10px;
    z-index: 5;
    padding: 0;
}

.tile-stats p {
    margin-top: 5px;
    font-size: 12px;
    position: relative;
    margin: 0 0 0 10px;
    z-index: 5;
    padding: 0;
}

#statics h2 {
    font-size:18px;
}


/************* OTRAS ***************/
/************* OTRAS ***************/
/************* OTRAS ***************/
/************* OTRAS ***************/

.precio2 {
    width:60% !important;
}

.margenbeneficio {
    float:right;
    margin-top:11px;
    font-size:0.8em;
}


/**************************************** CLASES UTILIZADAS GLOBALMENTE ***********************************************/


.ico-128 {
    font-size: 128px;
}
.ico-64 {
    font-size: 64px;
}
.ico-32 {
    font-size: 32px;
}

.ico-16 {
    font-size: 16px;
}

.valign {vertical-align:middle;}

form .error {color:#FF0000 !important;}

.panelactivo
{
    padding:10px;
    margin-top:10px;
    margin-bottom:10px;
    text-align:left;
    height:44px;
    border-radius: 10px;
}

.helpmant
{
    margin-left:5px;
    margin-top:-2px;
}

/* Menú bootstrap */

.dropdown>li>a {
    font-weight: bold;
}


.dropdown-menu > li > a {
    display:block;
    padding:3px 20px;
    clear:both;
    font-weight: 400;
    line-height: 1.42;
    color: #333;
    white-space: nowrap;
    font-size:16px;
}

.dropdown-submenu > li > a {
    display:block;
    padding:3px 20px;
    clear:both;
    font-weight: 400;
    line-height: 1.42;
    color: #333;
    white-space: nowrap;
    font-size:14px;
}

.dropdown-submenu > li {
    list-style-type: none;
}

.dropdown-submenu > li > a:hover,
.dropdown-submenu > li > a:focus {
    background-color: #e8e8e8;
    background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
    background-image:      -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
    background-image:         linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
    background-repeat: repeat-x;
}
.dropdown-submenu > .active > a,
.dropdown-submenu > .active > a:hover,
.dropdown-submenu > .active > a:focus {
    background-color: #2e6da4;
    background-image: -webkit-linear-gradient(top, #67A6DD 0%, #2e6da4 100%);
    background-image:      -o-linear-gradient(top, #67A6DD 0%, #2e6da4 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
    background-image:         linear-gradient(to bottom, #67A6DD 0%, #2e6da4 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
    background-repeat: repeat-x;
}

/* Nuevo tipo de panel */

.panel-search {
    border-color: #C577D0;
}
.panel-search > .panel-heading {
    color: #8F316F;
    background-color: #F6D9F7;
    border-color: #C577D0;
}
.panel-search > .panel-heading + .panel-collapse > .panel-body {
    border-top-color: #C577D0;
}
.panel-search > .panel-heading .badge {
    color: #d9edf7;
    background-color: #31708f;
}
.panel-search > .panel-footer + .panel-collapse > .panel-body {
    border-bottom-color: #bce8f1;
}

/* header contenido */

.header h1 {padding:0;margin:0}

/* paneles bootstrap */

.panel-primary {
    width: 100%;
    padding: 10px 17px;
    display: inline-block;
    background: #fff;
    border: 1px solid #E6E9ED;
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    column-break-inside: avoid;
    opacity: 1;
    transition: all .2s ease;
}

.panel-primary>.panel-heading {
    color: #111;
    background-color: white;
    border-bottom:2px solid gray;
}


.panel-heading {
    padding: 0 15px;
    /* border-bottom: 1px solid transparent; */
    /* border-top-left-radius: 3px; */
    /* border-top-right-radius: 3px; */
    margin-top: 0;
    border: 0;
    background-color: #E1E1E1;
    color: #3a3a3a;
    font-weight: 500;
    font-size: 1.3em;
}

.panel {
    margin-bottom: 10px;
    /* border: 1px solid transparent; */
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    /* box-shadow: 0 1px 1px rgba(0,0,0,.05); */
}

.panel-body {
    padding: 20px 0 0 0;
}

.panel-search .panel-body {
    padding:20px !important;
}


/**************************************** CLASES ESPECÍFICAS PARA ALGUNAS PÁGINAS *************************************/
/******************** TODO podríamos plantear mover a cada tpl su .css igual que se hace con el .js *******************/

/* iconos */

.rotate0 { transform: rotate(-0deg);}
.rotate1 { transform: rotate(-45deg);}
.rotate2 { transform: rotate(-90deg);}
.rotate3 { transform: rotate(-135deg);}
.rotate4 { transform: rotate(-180deg);}

/* perfil.mant */
#menucheck .menu
{
	border:0!important;
	height:auto!important;
	color:#FF0000!important;
	padding:0;
}

#menucheck .menu2
{
	margin-left:20px;
}

/* etiquetas */

.barcode {height:50px;width:150px;}

/* articulo.mant.tpl */

#articuloForm label.error {margin-bottom:20px!important;width: 100%;background: transparent!important}

.label-boton {
    border:1px solid #BBB;
    padding:5px;
    margin:5px;
    cursor:pointer;
    border-radius:5px;
}

.item-seleccionado {
    background-color:gold;
}

/* generic-menu.tpl */

.titulopaginaadm
{
	font-size:24px;
	font-weight:normal;
	color:#ABABAB;
    margin-bottom: 20px !important;
}

.titulopaginaadm img
{
	padding-bottom:5px;
}

.tituloadmspan
{
    color:white;
	padding-top:10px;
}

/* proveedor.mant empresa.mant */

.ccc1 {width:40px!important}
.ccc3 {width:20px!important}
.ccc4 {width:120px!important}

/* compra-item.tpl venta-item.tpl */

.smallinput {width:100px !important;}

/* cabecera de todas las páginas */







/* DataTables */

table.dataTable tr.odd { background-color: #E2E4FF; }
table.dataTable tr.even { background-color: white; }

/* Pie genérico */

.ayudapie
{
    padding:0px 0px 10px 0px;
    color:#4FB2CE;
}

/* Botones de formulario */

.botonera {
    text-align: center;
    /* background-color: #E5E5E5; */
    /* border: 1px solid #E6E6E6; */
    padding-right: 1%;
}

.botonera a
{
    font-size:.8em;
    font-weight:bold;
    color:#7396BF;
    display:block;
    float:right;
    padding:3px;
}

.botonera a:hover
{
    background-color:#FFF;
}

.botonera p
{
    margin-bottom:0;
}

.submit
{
    min-width:200px;
    height:50px;
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
    font-size:1.2em;
    border-radius: 10px;
}

.submitnuevo
{
    min-width:200px;
    height:50px;
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
    font-size:1.2em;
    border-radius: 10px;
}


.footer {
    border-top: 2px solid #f1f1f1;
    color: #999;
    width:100%;
}

.w5p  {	width:5%  }
.w10p {	width:10% }
.w15p { width:15% }
.w20p { width:20% }
.w30p {	width:30% }
.w40p { width:40% }
.w45p { width:45% }
.w50p { width:50% }
.w65p { width:65% }

.checkboxstyled input[type="checkbox"] {width: 0;height: 0;margin:0;visibility: hidden}
.checkboxstyled>a {border:1px solid #ECECEC;padding:15px;margin:1px;}
.checkboxstyled>a.checked {background: #fbcb00;}

/* Personalización de DataTables */

.DataTables_sort_wrapper span { display: inline }
.dataTables_length label { display: flex !important}
.dataTables_length select {margin-left: 5px; margin-right: 5px}
.dataTables_wrapper .ui-corner-tr { border-radius: 0 !important;}
.dataTables_wrapper .ui-corner-tl { border-radius: 0 !important;}
.dataTables_wrapper .ui-widget-header {
    border: 0 !important;
    background: none;
}
.dataTables_paginate a {padding-left: 5px; padding-right: 5px}

.textcondicionantesarticulo {
    margin-top:6px;
    margin-bottom: 6px;
}

.tablaVenta th {color:black}
.tablaVenta td {font-size:1.4em}

.ventanilla {
    /*
    border-radius: 10px;
    background-color: #EEE;
    padding: 20px;
    */
}

.blanco {
    background-color: #FFF !important;
}

.arrowsize {
    font-size: 18px
}

/* REDEFINIENDO BOOTSTRAP */


.breadcrumb>.active {
    color: #4cae4c;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
    /* opacity: .8; */
    margin-top: 20px;
    width: 100%;
    line-height: 28px;
    font-size:0.9em;
}

li{
    line-height: 30px;
    text-decoration: none;
}

/* TABLAS */

table.dataTable tbody th, table.dataTable tbody td {
    padding: 18px 20px;
    font-size: 15px;
}
table.dataTable tr.odd {
    background-color: #f1f1f1;
}

.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {
    color: #333;
    font-size: .8em;
    font-weight: normal;
}



.badge-danger {
    background-color: #ed6b75;
}

.badge-success {
    background-color: green;
}



/****************** TPV ***********************/

/** TPV Parte importe cobrado (a devolver */
#addpanel input {box-sizing: border-box; width: 90%;padding:15px;;margin:0;}
#addpanel input[type="checkbox"] {width: 100%}

.importePanel {background: #000;color:greenyellow;padding:30px;font-size:3em}
.billetes2 {margin:20px 0;padding:0}
.billetes2 li {display: inline-block;padding:10px;background: #faebcc;border-radius: 10px;border:1px solid #c09853;margin-left:5px;font-size:1.2em;}
.devolucion input {box-sizing: border-box; width: 100%;padding:15px;;margin:0;}
.devolucion .button {width: 33%;background: #ECECEC;margin-right:1px;}

#devolucion-fpago .button {background: #ECECEC}
#devolucion-fpago .button a{display: block;padding:10px;box-sizing: border-box;text-align:center;font-size:1.3em;text-decoration: none}
#devolucion-fpago .button.selected {background: green;color:#FFF;}
#devolucion-fpago .button.selected a {color:#FFF;}

.modal form {margin:0;}
.etiquetamarcafamilia
{
    font-size: 1.2em;
    font-weight: bold;
}

/* Etiquetas */
/* Ojo, en el print.css están redefinidos para impresión */
.barcodeetiqueta {margin-left:10px}
.barcodeetiqueta p {margin:0;}
.barcodeetiqueta div {min-height: 0 !important}
.barcodeetiquetaspvp {font-size:1.2em;font-weight: bold}
.barcodeetiquetadcto {text-decoration: line-through}

.bigdialog
{
    width:1000px;
    margin-left:-500px;
    position: absolute;
}

.tpvsmall
{
    font-size: 0.4em;
    padding-right: 20px;
}
.dest {font-size:2em;font-weight:bold;text-align:right !important;padding-top:0px!important;}
.destdif {background: #FFF;padding:5px;display: block;text-align: right}
.hoverart {width: 300px;height:auto;left:400px;border:2px solid #ECECEC}

.btn-help {color:black !important}

.tab-content {
    border-top:0
}

legend {
    display: block;
    width: 100%;
    padding-left: 15px;
    line-height: 40px;
    border: 0;
    border-bottom: 1px solid #f7f7f7;
    border-radius: 5px;
    margin-bottom:20px;
}
legend small {
    font-weight:normal;
    color: #3a87ad;
}

/** TPV Parte importe cobrado (a devolver */
#addpanel input {box-sizing: border-box; width: 90%;padding:15px;;margin:0;}
#addpanel input[type="checkbox"] {width: 100%}

.importePanel {background: #000;color:greenyellow;padding:30px;font-size:3em}
.billetes2 {margin:20px 0;padding:0}
.billetes2 li {display: inline-block;padding:10px;background: #faebcc;border-radius: 10px;border:1px solid #c09853;margin-left:5px;font-size:1.2em;}
.devolucion input {box-sizing: border-box; width: 100%;padding:15px;;margin:0;}
.devolucion .button {width: 33%;background: #ECECEC;margin-right:1px;}

#devolucion-fpago .button {background: #ECECEC}
#devolucion-fpago .button a{display: block;padding:10px;box-sizing: border-box;text-align:center;font-size:1.3em;text-decoration: none}
#devolucion-fpago .button.selected {background: green;color:#FFF;}
#devolucion-fpago .button.selected a {color:#FFF;}

.alignright {
    text-align:right !important;
}

.modal form {margin:0;}
.etiquetamarcafamilia
{
    font-size: 1.2em;
    font-weight: bold;
}

.hidescreen {
    display: none;
}

#divfactura {
    background-color: white;
    padding-top: 10px;
    padding-bottom: 10ppx;
}

#ventalinea {
    background-color: #d9edf7;
    padding: 10px;

}
.arqueototal .importe {
    font-size: 18px;
    padding: 20px;
    font-weight: normal;
}
.arqueototal .importe span{
    font-size: 24px;
    font-weight: bold;
}

.red {
    color:red;
    font-weight:bold;
}

.redcerrar {
    color: #f2dede;
    border-color: #ebcccc;
    background-color: #a94442;
    padding: 7px;
    border-radius: 50px;
    margin-top: 5px;
}

/*** CHAT ***/
.chat-no-leido p {
    font-weight: bold;
}

.articulodevolver {
    width:65px;
    text-align:right;
}

.addlines {
    border:2px solid #2A3F54;
    padding-top:10px;
    padding-bottom:10px;
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    background-color: #8FA59B;
    border-radius:2px;
}

.cuadro {
    width:90%;
    text-align:center;
    padding:10px;
    border:1px solid rebeccapurple;
    background-color: #B0BED9;
    margin:10px;
    border-radius:10px;
}

.negrita {
    font-weight:bold;
}

.panel-resumen span {
    font-size:1.3em;
}

.panel-resumen i {
    position:absolute;
    bottom:20px;
    right:20px;
    font-size:0.9em;
    font-style:normal;
}

.lote-seleccionado {
    color:red !important;
}

.select2-container .select2-selection--single {
    height:36px !important;
}

.panel-inicio .badge {
    font-size:18px !important;
}

.headFactura {
    width: 100%;
}

.nomargin {
    margin:0;
}


/** NUEVAS FACTURAS ALBARANES **/ 
.ventanillasTop {
    padding:20px;
    border:1px solid #ECECEC;
}

.ventanillaLeft {
    float:left;
    width:40%;
    
    border-right:1px solid #ECECEC;
}

.ventanillaRight {
    float:right;
    width:58%;
}

.conceptBlock {
    
}

.totalesFactura {
    width:100%;
    page-break-inside:avoid 
}

.totalesLeft {
    float:left;
    width:60%;
    padding:20px;
}
.totalesRight {
    float:left;
    width:38%;
    padding:20px;
}

.totalesContent {
    border:1px solid #ECECEC;
    padding:15px;
}
.totalesContent .value {
    font-size:1.2em;
}
.totalesContent td {
    font-weight:bold;
}
.totalValue td{
    border-top:1px solid #ECECEC;
    padding-top:20px;
    margin-top:20px;
}
.break {
    clear:both;
}


.select2-hidden-accessible,
.select2-hidden-accessible:focus {
  
 
      left: auto!important;
      top: auto!important;
      margin: -1px;
}

label a {
    color:blue;
}


.cabeceracondicionados .label {
    text-align:left;
    padding-left:20px;
}

.green {
    color: green;
    font-weight:bold;
}