/* Utilizados en toda la administración, si bien deberían eliminarse ya que
 * fleft y fright se sustituyen por columnas bootstrap
 * break tampoco es necesario al utilizar rows de bs
 * center se cambia por text-center

 .fleft {float:left;}
 .fright {float:right;}
 .break {clear:both;}
 .center {text-align:center;}

*/

/**************************************** CLASES PARA ITEMS HTML ******************************************************/
body
{
    margin:0;
    padding:0;
    font-family: Helvetica, Arial, Sans-Serif;
}

.jstree-anchor i {


}
.jstree-open>a, .jstree-closed>a {
    font-weight: bold;
}
.blockespec {margin:10px;padding:15px;}
.blockespec {list-style-position: outside}
#especialidades>div {margin:10px;}
#especialidades .col-md-12 {
    border-bottom:1px solid #ECECEC;
    background:#FFF;
    padding:5px;

}
input, textarea, select
{
    background-color:#FFF;
    border:1px solid #DDD;
    border-radius: 5px;
}

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

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

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

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;
}

input[type="checkbox"]
{
}

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

textarea {
    width:100%;

}

a {cursor:pointer;}

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;
}

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


/**************************************** 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 {
    border-color: #666;
}

.panel-primary>.panel-heading {
    background-color: #E1E1E1;
    color: #111;
}


/**************************************** 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;
}

/* contenido.php */
.contenido {
    /* padding: 10px; */
    padding: 0;
    padding: 10px;
}

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

/* 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}

/* albaran-item.tpl venta-item.tpl */

.smallinput {width:100px !important;}

/* cabecera de todas las páginas */

.barranavegacion {
    background-color: #f5f5f5;
    border: 1px solid #EEE;
    margin-bottom: 10px;
    border-radius: 5px;
}



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

.barranavegacion .breadcrumb {
    padding: 0;
    margin-bottom: 10px;
    font-size: 11px;
}

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

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

.navbar {
    margin-bottom: 0;

}


.cuadroestadistica
{
    -webkit-border-radius:10px;
    background-color:#EAEAEA;
    padding:1%;
    text-align:center;
    cursor:pointer;
}

.cuadroestadisticanofloat
{
    -webkit-border-radius:10px;
    background-color:#EAEAEA;
    padding:1%;
    margin:1%;
    text-align:center;
    height:65px;
}

.cuadroestadisticag
{
    -webkit-border-radius:10px;
    background-color:#EAEAEA;
    padding:10px;
    margin:10px;
    text-align:center;
}

.valorestadistica
{
    font-size:30px;
    margin-bottom:10px;
    font-weight: bold;
}

.valorestadisticapeq
{
    font-size:14px;
    margin-bottom:10px;
    font-weight: bold;
}

.tituloestadistica
{
    font-size:14px;
}

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


/* 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 {
    margin-top: 20px;
    padding-top: 20px;
    background-color: aliceblue;
    border-top: 1px solid #f1f1f1;
    font-size: 15px;
    opacity: .7;
}

.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 */

.navbar-default .navbar-nav>li>a {
    color: #999;
    font-weight: 400;
    font-size: 15px;
}

.container-fluid {
    /* padding-right: 15px; */
    /* padding-left: 15px; */
    /* margin-right: auto; */
    /* margin-left: auto; */
    /*background-color: aliceblue;*/
    font-size: 16px;
    border: 0px !important;
}

.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;
}


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

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
    /* opacity: .8; */

    width: 100%;
    line-height: 28px;
    font-size:0.9em;
}

p {
    margin:0;
}

label {
    margin-top:10px;
}

li{
    line-height: 30px;
    font-size: 1.2em;
    text-decoration: none;
}


.panel-heading {
    padding: 5px 8px;
    /* border-bottom: 1px solid transparent; */
    /* border-top-left-radius: 3px; */
    /* border-top-right-radius: 3px; */
    margin-top: 0;
    border: 0;
}

.panel-primary>.panel-heading {
    background-color: #E1E1E1;
    color: #3a3a3a;
    font-size: 20px;
    font-weight: 800;
    font-size: 1.3em;
}

.panel-primary {
    border-color: #f5f5f5;
    background-color: #f1f1f1;
}

.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-top: 0;
}

.alert {
    padding:5px;
    margin-bottom:10px;
}

/* 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;
    padding:5px;

}

.badge-success {
    background-color: #5cb85c;
    padding:7px;
    width:30px;
    color:white !important;
}


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

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

}
#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;
}
.arqueototal .importe {
    font-size: 18px;
    padding: 20px;
    font-weight: normal;
}
.arqueototal .importe span{
    font-size: 24px;
    font-weight: bold;
}

.navbar-default {
    background-color: #555;
    border-color: #e7e7e7;
    border-radius: 0px;
}


/* custom inclusion of right, left and below tabs */

.tabs-below > .nav-tabs,
.tabs-right > .nav-tabs,
.tabs-left > .nav-tabs {
    border-bottom: 0;
}

.tab-content > .tab-pane,
.pill-content > .pill-pane {
    display: none;
}

.tab-content > .active,
.pill-content > .active {
    display: block;
}

.tabs-below > .nav-tabs {
    border-top: 1px solid #ddd;
}

.tabs-below > .nav-tabs > li {
    margin-top: -1px;
    margin-bottom: 0;
}

.tabs-below > .nav-tabs > li > a {
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
}

.tabs-below > .nav-tabs > li > a:hover,
.tabs-below > .nav-tabs > li > a:focus {
    border-top-color: #ddd;
    border-bottom-color: transparent;
}

.tabs-below > .nav-tabs > .active > a,
.tabs-below > .nav-tabs > .active > a:hover,
.tabs-below > .nav-tabs > .active > a:focus {
    border-color: transparent #ddd #ddd #ddd;
}

.tabs-left > .nav-tabs > li,
.tabs-right > .nav-tabs > li {
    float: none;
}

.tabs-left > .nav-tabs > li > a,
.tabs-right > .nav-tabs > li > a {
    min-width: 74px;
    margin-right: 0;
    margin-bottom: 3px;
}

.tabs-left > .nav-tabs {
    float: left;
    margin-right: 19px;
    border-right: 1px solid #ddd;
}

.tabs-left > .nav-tabs > li > a {
    margin-right: -1px;
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
}

.tabs-left > .nav-tabs > li > a:hover,
.tabs-left > .nav-tabs > li > a:focus {
    border-color: #eeeeee #dddddd #eeeeee #eeeeee;
}

.tabs-left > .nav-tabs .active > a,
.tabs-left > .nav-tabs .active > a:hover,
.tabs-left > .nav-tabs .active > a:focus {
    border-color: #ddd transparent #ddd #ddd;
    *border-right-color: #ffffff;
}

.tabs-right > .nav-tabs {
    float: right;
    margin-left: 19px;
    border-left: 1px solid #ddd;
}

.tabs-right > .nav-tabs > li > a {
    margin-left: -1px;
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
}

.tabs-right > .nav-tabs > li > a:hover,
.tabs-right > .nav-tabs > li > a:focus {
    border-color: #eeeeee #eeeeee #eeeeee #dddddd;
}

.tabs-right > .nav-tabs .active > a,
.tabs-right > .nav-tabs .active > a:hover,
.tabs-right > .nav-tabs .active > a:focus {
    border-color: #ddd #ddd #ddd transparent;
    *border-left-color: #ffffff;
}

.select2-container {
    width: 100%!important;
}
.dt-buttons {margin-left:10px;}
.dt-buttons .dt-button {
    padding-right:10px;
}

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