body,form
{
	font-family:"Arial";
	font-size: 12px;
}

h1
{
	color:#034694;
	font-size:28px;
}


form h2
{
	padding-bottom:5px;
	padding-top:5px;
	padding-left:5px;
	background-color: #cccccc;
    font-size:22px;
}


/* TABLES */
th
{
    padding-top:10px;
    padding-bottom:10px;
    background-color:#bbbbbb; 
}

/* END TABLES */

hr
{
	border:1px solid #034694; /*#f07b0f*/
    color: #034694;
    background-color: #034694;
}

.table-smaller {
	font-size:11px
}



.readonly
{
	background-color:#dddddd;
}

a{
    color:#034694;
}

.boton {
    width:15px;
    height:15px;
    cursor:pointer;
    background-color:#aaaaaa;
}

.errorlist{
    color:red;
    list-style-type: none;
}

.menu {
  padding: 2px 4px;
  background-color: white;
}

.menu:visited{
    color:#034694;
}

.menu:hover{
    text-decoration:none;
    padding: 2px 4px;
    color: white;
    background-color: #034694;/*#ef7a0e;*/
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

td.table-products-disabled-vis {
    background-color:#dddddd;
}

td.table-products-disabled-gris > input {
    color:#dddddd;
    background-color:#dddddd;
}
td.table-products-disabled-gris {
    background-color:#dddddd;
}


.controls
{
    padding-top:10px;
}


.table-condensed th
{
    background-color:white; 
}

.text-form
{
    float:right;
    padding-top:2px;
    padding-right:10px;
}

.right
{
    float:right;
}

tr.row-form > td
{
    padding-top:10px;
}

/*Modal dialog many2one*/
.modal-resize
{
    width:90%;
    height:80%;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left:0;
    right:0;
}
.body-resize
{
    height:100%;
    max-height:75%;
}
.container-resize{
    width:100%;
}
.footer-resize{
    position:absoulte; 
    bottom:0%;
}

.auto-width {
    width:auto;
} 


.pagination_o2m{
	float:right;
	padding-right:40px;
	margin-top:-1px;
}

h5.fields_tit{
	margin-left:40px;
}


h2.titulo {
	color:#034694; 
	font-size:20px; 
	text-align:center;
}

input.checkbox-bigger{
    width:15px;
    height:15px;
    -moz-appearance:none;
}

input.radio-bigger {
    width:17px;
    height:17px;
    -moz-appearance:none;
}

div.square_login {
    color: #555;
    padding: 30px;
    width: 300px;
    position: absolute;
    left: 40%;
    top: 13vh;
}

div.square_login > div.row {
    margin-bottom:5px;
}

div.square_login > div.row > div > input {
    border-color: #666766;
    border-radius: 6px !important;
    border-width: 2px;
    
}

div.square_login > div.row > input {
    margin-left: 95px;
    border-color: #666766;
    border-width: 2px;
    border-radius: 0px;
    padding: 2px 12px;
}

div.square_login > div.row > div > input::-webkit-input-placeholder {
  color: #333 !important;
}
div.square_login > div.row > div > input:-moz-placeholder {
  color: #333 !important;
}

.logo-pit {
    width: 30%;
    margin-left: 95px;
    margin-bottom:30px;
    margin-bottom: 20px;
}


/* Redefinir color dia seleccionado de datepicker */
.datepicker table tr td.active:hover,
.datepicker table tr td.active:hover:hover,
.datepicker table tr td.active.disabled:hover,
.datepicker table tr td.active.disabled:hover:hover,
.datepicker table tr td.active:active,
.datepicker table tr td.active:hover:active,
.datepicker table tr td.active.disabled:active,
.datepicker table tr td.active.disabled:hover:active,
.datepicker table tr td.active.active,
.datepicker table tr td.active:hover.active,
.datepicker table tr td.active.disabled.active,
.datepicker table tr td.active.disabled:hover.active,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active:hover.disabled,
.datepicker table tr td.active.disabled.disabled,
.datepicker table tr td.active.disabled:hover.disabled,
.datepicker table tr td.active[disabled],
.datepicker table tr td.active:hover[disabled],
.datepicker table tr td.active.disabled[disabled],
.datepicker table tr td.active.disabled:hover[disabled] {
        background-image: none;
        background-color: #034694;
}


/*Sombra al pasar por encima de un link. Para links de filas de tables.*/
a.image_link:hover {
    background-color: #EEEEEE;
    border-radius: 5px 5px 5px 5px;
}
a.image_link {
    display:block;
    width: 30px;
    height: 30px;
}

a.image_link > img {
    width:22px;
    height:26px;
    display:block;
    margin:auto;
    padding-top:4px;
}


/*PART NOVA BI*/

.nav-pills > li > a {
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 2px;
    margin-bottom: 2px;
    border-radius: 5px 5px 5px 5px;
}

.container {
    padding: 0px;
}

body {
    margin-top:10px;
}

label.titulo{
	color:#034694; 
	font-size:20px; 
	text-align:center;
}

h5 {
    font-weight:bold;
    margin-bottom:10px;
}

label{
    font-weight: normal;
    font-size: 14px;
}

img.img_logo {
    border:0px; 
    width:90%;
    max-width:200px;
    max-height:70px;
}



.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    background-color: #034694;
}




.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    background-color: #034694;
}

.pagination > li > a, .pagination > li > span {
    color: #034694;
}

/*Per arreglar desplaçament MODAL*/
.modal{
overflow-y: auto;
}
.modal-open{
overflow:auto;
overflow-x:hidden;
}

th.table-sorter-sel{
    background-color:rgb(221,221,221);
    cursor:pointer;
}

th.table-sorter_h{
    background-color:rgb(221,221,221);
    cursor:pointer;
   /* background-image: url(/static/img/sort_both.png);*/
    background-repeat: no-repeat;
    background-position: center right;
}


th.table-sorter:hover{
    background-color:rgb(221,221,221);
    cursor:pointer;
    background-image: url(/img/asc.gif);
    background-repeat: no-repeat;
    background-position: center right;
}

th.sortUp {
    background-image: url(/img/asc.gif);
    background-repeat: no-repeat;
    background-position: center right;
}
th.sortDown {
    background-image: url(/img/desc.gif);
    background-repeat: no-repeat;
    background-position: center right;
} 

.blockq-danger {
    border-color: #D9534F;
    background-color:#FDF7F7;
}
.blockq-danger h4 {
    color: #D9534F;
}

.blockq-warning {
    border-color: #F0AD4E;
    background-color:#FCF8F2;
}
.blockq-warning h4 {
    color: #F0AD4E;
}

.row-form {
    margin-bottom:5px;
}


/**
* PANTALLA CONTROL STOCK
*/
.group-red-stock {
    color: red;
}

.group-stock {
    border-top: 1px solid black !important;
}

.row-green-stock {
    background-color: #D9E5BC !important;
}

.row-grey-stock {
    background-color: #C5C5C5 !important;
}

.row-stock {
    border-top: 1px solid black !important;
    border-left: 1px solid black !important;
}

.row-rigth-stock {
    border-right: 1px solid black !important;
}

div.ui-grid-canvas > div.ui-grid-row:last-child > div[ui-grid-row]:last-child > .row-stock {
    border-bottom: 1px solid black !important;
}

button.btn-xs-stock {
    padding-top:2px !important;
    padding-bottom:3px !important;
    font-size:10px !important;
}

.row-stock-min {
    background-color: rgb(244, 170, 80) !important;
    border-color: rgb(244, 170, 80);
}