/*
 * Stiluri tabele
 */

table {
	width: 100%;
} 

td {
	word-wrap: break-word;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance:textfield;
}

#tabel_comenzi, .tbl_bottom2 {
	margin-right:1%;
}

#tabel_comenzi {
}

.deleted td, .deleted span {
	text-decoration:line-through;
}

.actualizat td {
	border-color: green !important;
}

.tbl_bottom2 {
	background: #ebebeb;
	text-align: right;
	border-right: 1px solid #CDCDCD;
	border-left: 1px solid #cdcdcd;
	padding: 10px;
}

.cos_tbl {
	width: 100%;
}
 
.my_tab, .my_tab tr {
	border: none;
	border-collapse: separate;
	border-top: 1px solid white;
} 

.my_tab_header {
	background: #dbdbdb;
	color: #0483b8;
}

.my_tab_header td {
	padding: 10px 10px;
	border-right: 1px solid #dadada;
	border-left: 1px solid #dadada;
	border-top: 0;
	border-bottom: 0;
}

.my_tab_header td.art_den, .my_tab_header td.ARTICOL {
	border-left: 0;
}

td input {
	text-align: center !important;
}

.odd_row td, .even_row td {
	padding: 0 10px;
	border-right: 1px solid #dadada;
	border-left: 1px solid #ffffff;
	border-top: 0;
	border-bottom: 0;
}

.odd_row {
	background: #f2f2f2;
}

.even_row {
	background: #ffffff;
}

.tbl_form, .tbl_form input {
	margin: 0;
	padding: 0;
	margin-bottom: 0px;
	max-width: 600px;
	height: 100%;
	font-size: 13px;
	line-height: 18px;
	color: #555555;
	background-color: rgba(255, 255, 255, 0);
	border: 1px solid rgba(255, 255, 255, 0);
}

.tbl_form input {
}

.orderby{
	float: right;
	cursor: pointer;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 0 6px 10px 6px;
	border-color: transparent transparent #f2f2f2 transparent;
}
.orderby:hover{border-color:transparent transparent rgb(251, 203, 58) transparent}
.thisOrder{border-color: transparent transparent #0483b8 transparent !important;}

.orederByReverse {
	float: left;
	cursor: pointer;
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 10px 6px 0 6px;
	border-color: #f2f2f2 transparent transparent transparent;
}
.orederByReverse:hover{border-color:rgb(251, 203, 58) transparent transparent transparent;}
.thisOrderReverse{border-color: #0483b8 transparent transparent transparent;}

td.td_form_obs{
	width: 180px;
	max-width: 180px;
	min-width: 180px;
	padding: 0;
}

td.td_form_cantit{
	width: 95px;
	max-width: 95px;
	min-width: 95px;
    padding: 0 10px;
    text-align: right;
}

td.td_form_date{
	width: 95px;
	max-width: 95px;
	min-width: 95px;
	padding: 0;
}

td.td_form_pret input{
	display: inline-block;
	padding: 0 10px;
	margin: 0;
	border: 0;
	border-radius: 0;
	position: relative;
	width: 100%;
	min-width: 8em;
	height: 100%;
	float: left;
	text-align: right;
	background-color: transparent;	
	box-sizing: border-box;
}

td.td_form_obs input{
	display: inline-block;
	padding: 0 10px;
	margin: 0;
	border: 0;
	border-radius: 0;
	position: relative;
	width: 100%;
	height: 100%;
	float: left;
	background-color: transparent;		
}

td.td_form_cantit input{
	display: inline-block;
	padding: 0 10px;
	border: 0;
	margin: 0;
	border-radius: 0;
	width: 100%;
	height: 100%;
	float:right;
	background-color: transparent;
	text-align: right;
	box-sizing: border-box;
}

td.td_form_date input{
	display: inline-block;
	padding: 0 4px;
	border: 0;
	margin: 0;
	border-radius: 0;
	width: 100%;
	height: 100%;
	float:left;
	background-color: transparent;
	text-align: right;
	box-sizing: border-box;
}

td.td_form_zile_livrare input{
	display: inline-block;
	padding: 0 4px;
	border: 0;
	margin: 0;
	border-radius: 0;
	width: 100%;
	height: 100%;
	float:left;
	background-color: transparent;
	text-align: right;
	box-sizing: border-box;
}

td.td_form_zile_credit input{
	display: inline-block;
	padding: 0 4px;
	border: 0;
	margin: 0;
	border-radius: 0;
	width: 100%;
	height: 100%;
	float:left;
	background-color: transparent;
	text-align: right;
	box-sizing: border-box;
}

td.td_form_discount input{
	display: inline-block;
	padding: 0 4px;
	border: 0;
	margin: 0;
	border-radius: 0;
	width: 100%;
	height: 100%;
	float:left;
	background-color: transparent;
	text-align: right;
	box-sizing: border-box;
}

#tabel_comenzi td, .my_tab td {
	text-align: center;
}

tr.selected td input:focus{
	background-color: white;
}

tr.selected_off {
	background: rgb(250, 150, 0);
}

.deleted td.td_form_cantit input{
	background-color: transparent;
	text-decoration:line-through;
	text-align: right !important;
}

.deleted td.td_form_cantit .button{
	display: none;
}

.selected .td_form_obs .button, .selected .td_form_cantit .button{
	display: inline-block;
	left: 0px;
	width: 25px;
	height: 100%;
	float: right;
}

.button{
	display:none;
	height: 20px;
}

.td_editabil{padding:0 !important;}
#tabel_comenzi.oferta .my_tab_header td{width: 30px;}

.td_form{
	padding: 0 !important;
	width: 75px;
	min-width: 75px;
}

.td_form_delete {
	max-width: 50px;width: 50px;text-align: center;color: red;cursor: pointer;
}

.no_stoc{
	color: red;
}

.no_stoc form{
	display: none;
}

.selected td{
	background-color: rgb(250, 150, 0);
}

#tabel_produse .td_form form input{
	visibility: hidden;
}

#tabel_produse .selected .td_form form input{
	visibility: visible;
}

.selected input{
	background: white;
}

.selected .button{
	cursor:pointer;
	float: left;
	position: relative;
	display: inline;
	width: 21px;
	top: -1px;
	right: 0px;
	height: 20px;
	line-height: 18px;
	padding: 0px 0px;
	margin: 0px;
	background: rgb(250, 150, 0);
	background-image: url(../imagini/ok.png);
	background-size: 15px;
	background-repeat: no-repeat;
	background-position: 4px;
	-webkit-box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.075);
	-moz-box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.075);
	-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
	-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
	-ms-transition: border linear 0.2s, box-shadow linear 0.2s;
	-o-transition: border linear 0.2s, box-shadow linear 0.2s;
	transition: border linear 0.2s, box-shadow linear 0.2s;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}

.selected .button:hover{
	background-size: 18px;
	background-position: 3px;
}

.selected .form_cantit{
	height:100%;
	float: left;
	position: relative;
	left: -1px;
	top: -1px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.075);
	-moz-box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.075);
	-webkit-transition: initial;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}

.butonOferta{
	color: #0a76a5;
	background: rgb(250, 150, 0);
    text-align: center;
    border: 1px solid;
    border-radius: 3px;
	cursor: pointer;
}
.butonOferta:hover{text-shadow: 0px 0px 1px #5bc0de;border-color: #2594bf;}

#tabel_comenzi_content .my_tab {
	border-top: 0px solid white;
}

#tabel_comenzi_content .odd_row td, #tabel_comenzi_content .even_row td{
/*	padding: 0 10px; */
	padding: 10px;
	border-right: 0px solid #dadada;
	border-left: 0px solid #ffffff;
	border-top: 0;
	border-bottom: 0;
	color: white;
	color: black;
}
/* new */
#tabel_comenzi_content .odd_row{
	background: rgb(150, 150, 150);
	background: rgba(150, 150, 150, 0.35);
}

#tabel_comenzi_content .even_row{
	background: rgb(160, 160, 160);
	background: rgba(150, 150, 150, 0.35);
}

#comenzi-user-header .my_tab, .my_tab tr {
	border: none;
	border-collapse: separate;
	border-top: 0px solid white;
	/*border-spacing: 1px 0px;*/
} 

#comenzi-user-header tr, #comenzi-user-header td{
	border: 0px solid white;
	background: white;
}

#comenzi-user-header label {
	color: rgb(114, 113, 119);
}

.my_tab {
	table-layout: fixed;
	max-width: 100%;
	width: 100%;
}

.my_tab tbody{
	width: 100%;
	table-layout: fixed;
}

.my_tab td.DENOBIECT {
	width: 20%;
}
.my_tab td.CLASA {
	width: 10%;
}
/*
.my_tab td.CODINTERN {
	width: 10%;
}
.my_tab td.CODEXTERN {
	width: 15%;
}
*/
.my_tab td.CODINTERN {
	width: 7%;
}
.my_tab td.CODEXTERN {
	width: 9%;
}
.my_tab td.CODCATALOG {
	width: 9%;
}

.my_tab td.DEN_GEST {
	width: 15%;
}
.my_tab td.PRET {
	width: 7.5%;
}
.my_tab td.STOC {
	width: 7.5%;
}
.my_tab td.UM {
	width: 7.5%;
}
.my_tab td.td_form {
	width: 7.5%;
}

td.art_den {
	width: 25%;
}
/*
td.art_den.off {
	width: 15% !important;
}
*/
.my_tab, .my_tab tr {
	border: none;
	border-collapse: separate;
	border-top: 0px solid white;
} 

.odd_row td, .even_row td{
	padding: 10px;
	border-right: 0px solid #dadada;
	border-left: 0px solid #ffffff;
	border-top: 0;
	border-bottom: 0;
	color: white;
	color: black;
}

.odd_row{
	background: rgb(150, 150, 150);
	background: rgba(150, 150, 150, 0.35);
}

 .even_row{
	background: rgb(160, 160, 160);
	background: rgba(160, 160, 160, 0.35);
}
/*
.variant {
	background: #ff99ff;
}

.sel {
	background-color: red;
}
*/
.master .denobiect {
	display: none;
}

.variant .den_art {
	display: none;
}

/* new */
/*
.var-dim {
	background-color: salmon;
}
*/

/*
.var-dim .REST {
	text-align: right;
}
*/
/*
.var-dim .DENOBIECT, .var-dim .CLASA, .var-dim .CODINTERN, .var-dim .CODEXTERN, .var-dim .DEN_GEST, .var-dim .PRET, .var-dim .STOC, .var-dim .UM, .var-dim .td_form {
	display: none !important;
}
*/

.var-dim .DENOBIECT, 
.var-dim .STOC, .var-dim .D, .var-dim .D1, .var-dim .D2, .var-dim .D3, .var-dim .CANTUM1,
/*.var-dim .td_form, */
.var-dim .td_new_obj {
	display: none !important;
}

.master .Denumire,
.master .REST, .master .D, .master .D1, .master .D2, .master .D3, .master .CANTUM1 {
	display: none !important;
}

.var-dim label {
	display: none; 
}
/*
.var-dim[index='1'] label {
	display: block; 
}
*/

