@import "estils/fonts.css";
@import "estils/jquery-ui.css";
@import "estils/caixa_login.css";
@import "estils/pestanyes.css";
@import "estils/voip.css";

:root {
  --color-fons: #f7f7f7;
  --color-text: #555;
  --color-negre: #000;
  --color-blanc: #fff;
  --verd-nlaire: #47d9b0;
  --vermell-nlaire: #e44660;
}

button,
input,
select,
textarea {
  font: inherit;
}

body {
  margin: 0;
  padding: 0;
  /* background: url(imatges/fons.jpg) -700px -100px var(--color-fons);
  font: normal 12px Roboto, sans-serif;
  color: var(--color-text); */
}

#lateral {
  width: 250px;
  float: left;
  display: none;
}

.missatges {
  position: absolute;
  width: 500px;
  height: 22px;
  left: -250px;
  margin-left: 50%;
  top: 0;
  text-align: center;
  color: var(--color-fons);
  padding-top: 5px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  font-weight: 700;
  display: none;
  box-shadow: 1px 1px 2px rgba(1, 0, 2, 0.5);
  z-index: 75;
}

.fons-verd {
  background: #090 none repeat scroll 0 0;
}

.fons-vermell {
  background: #c00 none repeat scroll 0 0;
}

.titol {
  border-bottom: 2px solid var(--color-text);
  padding-left: 5px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 10px;
  line-height: 2em;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.titol_dialeg {
  font-weight: bolder;
  text-align: center;
  line-height: 25px;
  margin-bottom: 2px;
  color: var(--color-fons);
  background-color: var(--color-text);
  font-size: 1.18em;
}

#botons {
  padding: 10px 0 10px 10px;
  display: none;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  background-color: var(--color-fons);
}

input[type="button"] {
  border-radius: 2px;
  margin: 5px 5px 5px 15px;
  border: 0;
  color: var(--color-fons);
  width: 200px;
  height: 32px;
  box-shadow: 1px 1px 2px rgba(1, 0, 2, 0.5);
  background-color: var(--vermell-nlaire);
  font-size: 1.1em;
  color: var(--color-fons);
  font-weight: 700;
  cursor: pointer;
}

input[type="button"][disabled] {
  color: gray;
}

div.botons {
  border-top: 1px solid var(--color-text);
  padding-top: 10px;
  text-align: center;
  margin-top: 10px;
}

div.dades {
  height: 20px;
  line-height: 20px;
  padding: 5px 0;
  margin: 0 5px;
  cursor: default;
}

div.dades span.label,
div.dades span.selector {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

div.separador {
  height: 1px;
  line-height: 1px;
  padding: 0;
  margin: 0 15px;
  background-color: var(--color-negre);
}

#main {
  position: absolute;
  display: none;
  width: 955px;
  height: 500px;
  left: 265px;
  padding: 20px 0 0 25px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}

caption {
  font-weight: 700;
  text-align: center;
  border-bottom: 2px solid var(--color-text);
  line-height: 22px;
}

.head span,
thead tr th {
  font-weight: 700;
  border-bottom: 1px solid var(--color-text);
  padding: 2px;
  line-height: 22px;
}

tfoot th#resum {
  text-align: right;
}

tfoot th {
  font-weight: 700;
  text-align: left;
}

.cos div:nth-child(even) {
  background-color: #f1edf2;
}

.cos div {
  border-left: 1px solid #dadada;
  border-bottom: 1px solid #dadada;
}

tbody tr.disabled {
  color: gray;
  cursor: default;
}

tbody tr td {
  padding: 2px 5px;
}

#edit div.column {
  width: 528px;
  display: inline-table;
  margin: 0;
  padding-left: 10px;
}

#edit div.column:nth-child(even) {
  padding-right: 10px;
}

#edit div.dades-obser {
  height: 50px;
  line-height: 20px;
}

#factura_person div.dades-conc {
  height: 24px;
  line-height: 24px;
}

span.selector {
  cursor: pointer;
  text-align: center;
  padding: 0 5px;
  color: var(--color-negre);
}

span.selected {
  border-bottom: 2px solid var(--color-negre);
  cursor: default !important;
}

span.disabled {
  cursor: default !important;
  color: #b8b8b8 !important;
  border-bottom-color: #b8b8b8;
}

div.dades > span.label {
  width: 135px;
  float: left;
  text-align: right;
  padding: 0 5px 1px 3px;
  cursor: default;
  color: var(--color-text);
}

#preferencies span.label {
  width: 275px;
  float: left;
  display: block;
  text-align: right;
  padding: 0 5px 1px 0;
  cursor: default;
  color: var(--color-text);
}

select {
  border: none;
  border-radius: 2px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  outline: none;
  appearance: none;
  overflow: hidden;
  text-indent: 1px;
  cursor: pointer;
  background-color: #f1edf2;
  color: var(--color-negre);
  min-width: 40px;
}

#factura_person {
  width: 690px;
  left: -345px;
  z-index: 56;
}

#factura_person select {
  margin-bottom: -5px;
  margin-top: 0;
}

#factura_person div.dades_factura {
  margin: 5px 0;
  padding: 10px 0;
}

#factura_person_t_conceptes {
  border-top: 1px solid var(--color-text);
}

select[disabled] {
  color: #b8b8b8;
  border-bottom: 1px dotted #f1edf2;
}

#preferencies input[type="text"] {
  padding: 0;
  border: 0;
  width: 300px;
  background-color: #f1edf2;
  border-bottom: 1px dotted var(--color-text);
}

#edit textarea {
  padding: 0;
  border: 0;
  width: 340px;
  height: 100px;
  background-color: #f1edf2;
  border-radius: 2px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  resize: none;
}

#edit a,
#edita_dist a,
.boto {
  background-color: var(--vermell-nlaire);
  color: var(--color-fons);
  text-decoration: none;
  padding: 0 6px;
  border-radius: 2px;
  box-shadow: 1px 1px 2px rgba(1, 0, 2, 0.5);
  display: inline-table;
  min-width: 75px;
  line-height: 19px;
  text-align: center;
}

#hide {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--color-negre);
  display: none;
  opacity: 0.1;
  filter: alpha(opacity=5);
  z-index: 45;
}

.taula_100 {
  width: 100%;
  margin: 0;
}

#admin_user_table,
#log_table {
  overflow: auto;
}

#admin_user_table tr {
  border-left: 1px solid #dadada;
  border-bottom: 1px solid #dadada;
}

#admin_user_table td {
  line-height: 22px;
}

#log_actions {
  position: absolute;
  bottom: 0;
  width: 730px;
}

#admin_user_actions {
  position: absolute;
  bottom: 0;
  width: 530px;
}

.dialeg {
  display: none;
  top: 50px;
  position: absolute;
  margin-left: 50%;
  padding-bottom: 10px;
  background-color: var(--color-fons);
  border: 0 solid var(--color-fons);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.dialeg span.caption {
  line-height: 22px;
  margin: 0;
  display: table-cell;
  text-align: center;
}

.cos span,
.head span {
  display: table-cell;
  padding: 0 2px;
  line-height: 22px;
}

#conceptes {
  width: 600px;
  left: -300px;
  z-index: 56;
}

#edit_conceptes {
  width: 700px;
  left: -350px;
  z-index: 56;
  padding: 5px 0;
}

#preferencies {
  width: 650px;
  left: -325px;
  z-index: 50;
}

#log {
  width: 1100px;
  left: -550px;
  top: 10px;
  z-index: 61;
}

#edit {
  width: 1100px;
  top: 10px;
  left: -550px;
  z-index: 60;
}

#llista_dist {
  width: 850px;
  left: -425px;
  z-index: 55;
}

#edita_dist {
  width: 470px;
  left: -235px;
  z-index: 56;
}

#user_edit {
  width: 600px;
  top: 250px;
  left: -300px;
  z-index: 56;
}

#factura_person_buscar_client {
  width: 75px;
}

#form_alta_btn {
  width: 120px;
  height: 20px;
  margin: 0;
  padding: 0;
}

#falta_info {
  width: 220px;
}

.caption {
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid var(--color-text);
}

.caption img {
  margin-right: 5px;
}

#cont_dades {
  background-color: var(--color-fons);
  overflow: auto;
  height: 500px;
  border-bottom: 1px solid var(--color-text);
}

.header {
  border-bottom: 1px solid var(--color-text);
}

#cont_dades div span,
.header span {
  display: inline-block;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.header span {
  cursor: pointer;
  font-weight: 700;
  padding-left: 5px;
}

.header span:nth-child(1) {
  width: 290px;
}

.header span:nth-child(2) {
  width: 115px;
}

.header span:nth-child(3) {
  cursor: default;
  width: 230px;
}

.header span:nth-child(4) {
  cursor: default;
  width: 230px;
}

.header span:nth-child(5) {
  width: 20px;
  cursor: default;
}

#cont_dades div {
  line-height: 25px;
  height: 25px;
  border-left: 1px solid #dadada;
  border-bottom: 1px solid #dadada;
}

#cont_dades div span {
  cursor: pointer;
  padding-left: 5px;
}

#cont_dades div span:nth-child(1) {
  width: 290px;
}

#cont_dades div span:nth-child(2) {
  width: 115px;
}

#cont_dades div span:nth-child(3) {
  width: 230px;
}

#cont_dades div span:nth-child(4) {
  width: 230px;
}

#cont_dades div img {
  vertical-align: middle;
}

#cont_dades div:hover {
  background-color: #add8e6;
}

#cont_cerca {
  display: none;
  height: 25px;
  padding: 5px;
  text-align: center;
}

#cont_filtres {
  display: none;
  padding: 5px;
}

#cont_filtres div {
  padding: 3px;
  margin-right: 5px;
}

#cont_filtres label {
  color: #e44660;
}

#cont_filtres span.selector {
  padding: 0 5px;
  cursor: pointer;
  color: var(--color-text);
}

#cont_filtres span.disabled {
  cursor: default;
  color: #b8b8b8;
  border-bottom-color: #b8b8b8;
}

#cont_filtres span.selected {
  border-bottom: 2px solid var(--color-text);
}

#cont_filtres input[type="text"] {
  width: 190px;
}

#cont_eines {
  width: 670px;
  left: -335px;
  z-index: 55;
}

#cont_eines #e_progres {
  height: 200px;
  width: 670px;
  border: 0;
  border-top: 2px solid var(--color-text);
  border-bottom: 2px solid var(--color-text);
}

.contenidor {
  border-top: 1px solid var(--color-text);
}

.clic {
  cursor: pointer;
}

#dades_conceptes {
  overflow-x: hidden;
  height: 500px;
  display: block;
  overflow-y: auto;
}

.ta-lf{
  text-align: left !important;
}
.ta-rh{
  text-align: right !important;
}

.ta-ct {
  text-align: center !important;
}
.w-40{
  width: 40px !important;
}
.w-50{
  width: 50px !important;
}

.pd-10{
  padding-left: 10px !important;
}
.pl-10{
  padding-left: 10px !important;
}

.mr-15{
  margin-right: 15px !important;
}
.ml-25{
  margin-left: 25px !important;
}
.mb-5{
  margin-bottom: 5px !important;
}

i {
  font-size: 18px;
  vertical-align: middle;
}
i.verd {
  color: green;
}
i.no-clicable {
  margin-left: 2px;
  opacity: 0.2;
}
i.clicable {
  cursor: pointer;
  margin-left: 2px;
  opacity: 1;
}
