@import 'web-fonts-with-css/css/fontawesome-all.min.css';
* {
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  line-height: 1.5em;
}
.fa-archive:before {
  content: "\f187";
}
.fa-trash:before {
  content: "\f1f8";
}
.fa, .far, .fas {
  line-height: inherit;
  margin: 0 0.25em;
}
.fa.fa-border, .far.fa-border, .fas.fa-border {
  padding: 0 0.25em;
}
/* Estils generals */svg > rect {
  opacity: 0;
}
ol, ul {
  list-style: none;
}
a:visited, a:link, a:active, a:hover {
  text-decoration: none;
  color: inherit;
}
/* Let's get this party started */::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
}
/* Track */::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
/* Handle */::-webkit-scrollbar-thumb {
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background: #d1dbbd;
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.5);
}
/* End reset */body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 81.25%;
  background-color: #f0f0f0;
  width: 100vw;
  height: 100vh;
  overflow-y: hidden;
}
body [hidden] {
  display: none;
}
body.grid {
  display: grid;
  grid-template-columns: min-content 1fr min-content;
  grid-template-rows: 1fr min-content;
}
body.grid div.menuEsq {
  position: initial;
  grid-column: 1;
  grid-row: 1/3;
}
body.grid #dades {
  position: initial;
  width: auto;
  left: auto;
  grid-row: 1;
  grid-column: 2;
  overflow-x: auto;
}
body.grid #dades .apartat {
  margin-left: 0.25rem;
}
body.grid #dades.grid, body.grid #dades .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(40em, auto));
  grid-auto-rows: minmax(8em, auto);
}
body.grid #dades.grid .apartat, body.grid #dades .grid .apartat {
  display: grid;
  grid-template-rows: min-content auto;
}
body.grid #dades.grid .apartat > div:not(:first-child), body.grid #dades .grid .apartat > div:not(:first-child) {
  overflow-y: auto;
}
body.grid #dades.grid .apartat .apartatInterior, body.grid #dades .grid .apartat .apartatInterior {
  overflow: auto;
}
body.grid #dades:not(.grid) {
  display: flex;
  flex-flow: column;
  justify-content: stretch;
  align-items: stretch;
}
body.grid #dades:not(.grid) .apartat.flex, body.grid #dades:not(.grid) form.flex {
  flex: 1;
  display: flex;
  flex-flow: column;
}
body.grid #dades:not(.grid) .apartat.flex .apartatInterior, body.grid #dades:not(.grid) form.flex .apartatInterior {
  flex: 1;
  height: 5em;
}
body.grid #dades .flex-r {
  flex: 1 0;
  display: flex;
  flex-flow: row wrap;
}
body.grid #dades .flex-r > div, body.grid #dades .flex-r form {
  flex: 1;
}
body.grid #menuTorna {
  position: initial;
  left: auto;
  width: auto;
  grid-row: 2;
  grid-column: 2;
}
body form .dirty {
  border: 1px solid lightyellow;
}
body input, body select, body textarea, body button {
  border-radius: 0;
  padding: 0 0.25em;
  background-color: #fff;
}
body input.invalid, body select.invalid, body textarea.invalid, body button.invalid {
  border: 1px solid red;
  color: red;
}
body input[disabled], body select[disabled], body textarea[disabled], body button[disabled], body input[readonly], body select[readonly], body textarea[readonly], body button[readonly] {
  color: gray;
}
body input[type="file"][data-upload-to], body select[type="file"][data-upload-to], body textarea[type="file"][data-upload-to], body button[type="file"][data-upload-to] {
  max-width: 1.5em;
  overflow: hidden;
  background: none;
  vertical-align: top;
  white-space: nowrap;
}
body input[type="file"][data-upload-to]::before, body select[type="file"][data-upload-to]::before, body textarea[type="file"][data-upload-to]::before, body button[type="file"][data-upload-to]::before {
  background: none;
  font-family: 'Font Awesome 5 Pro';
  content: '\f0c6';
  padding-right: 0.25em;
}
body textarea.html:not([readonly]) {
  margin-bottom: 2em;
}
body.login {
  background-image: url("./login.jpg");
  background-size: cover;
}
body.login > div:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90vh;
}
body.login .apartat {
  padding-left: 1em;
  padding-right: 1em;
}
body .etiqueta, body .apartat label {
  margin: 0 0.1em 0 0.25em;
  color: #193441;
}
body label.tipus-etiqueta {
  padding: 0.2em 0.4em;
  border-radius: 5px;
  color: #fff;
  background-color: #3e606f;
  font-size: smaller;
  text-transform: none;
  max-width: 20em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}
body label.tipus-etiqueta:hover {
  max-width: none;
}
.meta-cerca {
  display: flex;
  flex-flow: column;
  align-items: center;
  z-index: 100;
}
.meta-cerca input {
  font-size: larger;
  border-radius: 5px;
}
.meta-cerca ul, .meta-cerca li {
  color: black;
  text-transform: none;
}
.meta-cerca > div {
  background-color: white;
  position: absolute;
  top: 2.5em;
  left: 2.5vw;
  right: 2.5vw;
  margin: 0 auto;
  z-index: 10;
}
.meta-cerca > div > ul {
  max-width: 95vw;
  max-height: 95vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20em, auto));
}
.meta-cerca > div > ul ul li {
  padding: 0.15em 0.25em;
}
.meta-cerca > div > ul > li {
  padding: 0.5em 1em;
  border-right: 1px solid #d1dbbd;
  border-left: 1px solid #d1dbbd;
}
.meta-cerca > div > ul > li span {
  font-weight: bolder;
}
.graella {
  display: grid;
  grid-auto-columns: minmax(10em, 40em);
  grid-template-rows: min-content auto;
  height: 100%;
}
.graella h1 {
  text-align: center;
  white-space: nowrap;
  overflow-x: hidden;
  text-overflow: ellipsis;
}
.graella .graella-col {
  overflow-y: auto;
  display: flex;
  flex-flow: column;
}
.graella .graella-col .graella-col-title {
  position: fixed;
  margin-left: 1em;
  background-color: #000;
}
.graella .graella-col .graella-item {
  margin: 0.25rem;
  border: 1px solid #d1dbbd;
  border-radius: 4px;
}
.graella .graella-col .graella-item > div {
  padding: 0.25em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.graella .graella-col .graella-item > div:first-child {
  color: white;
  font-weight: bolder;
  background-color: #91aa9d;
}
.graella .graella-col .graella-item > div.flex {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  white-space: nowrap;
}
.graella .graella-col .graella-item > div.flex > div {
  overflow-x: hidden;
  text-overflow: ellipsis;
}
#all {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#all #content {
  height: 100%;
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(15em, 1.1fr) 3fr minmax(15em, 1.1fr);
  grid-template-rows: min-content min-content 1fr min-content;
}
#all #content .menu1 {
  text-transform: uppercase;
  padding: 0.5rem;
  grid-row: 1;
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  color: #fff;
  background-color: #193441;
}
#all #content .menu1 *[onclick]:hover, #all #content .menu1 .menu1 a:hover {
  color: #91aa9d;
}
#all #content .menu {
  text-transform: uppercase;
  grid-row: 2;
  grid-column: 1/-1;
  background-color: #f5f5f5;
  box-shadow: 0 12px 20px -10px rgba(245, 245, 245, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(245, 245, 245, 0.2);
  border-bottom: 1px solid lightgray;
  margin-bottom: 1rem;
  font-weight: bold;
}
#all #content .menu * {
  padding: 0;
  margin: 0;
}
#all #content .menu img.logo {
  max-height: 2.5em;
}
#all #content .menu ul.menu {
  font-size: 110%;
  list-style: none;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
}
#all #content .menu ul.menu ul {
  position: absolute;
  display: block;
  visibility: hidden;
  opacity: 0;
  list-style: none;
  background-color: #fff;
  z-index: 10;
  white-space: nowrap;
  border: 1px solid lightgray;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
#all #content .menu ul.menu ul a {
  justify-content: space-between;
}
#all #content .menu ul.menu > li > a:after {
  font-family: "Font Awesome 5 Pro";
  content: "\f105";
  text-align: center;
  width: 1rem;
}
#all #content .menu ul.menu > li:hover > ul, #all #content .menu ul.menu > li.active > ul {
  opacity: 1;
  visibility: visible;
}
#all #content .menu ul.menu > li:hover > a:after, #all #content .menu ul.menu > li.active > a:after {
  content: "\f107";
}
#all #content .menu ul.menu a {
  display: flex;
  align-items: center;
  padding: 1rem;
}
#all #content .menu ul.menu a > div {
  margin-left: 1rem;
  font-size: xx-small;
}
#all #content #left, #all #content #right, #all #content #left2 {
  grid-row: 3;
  overflow-y: auto;
  padding: 0 0.5rem;
}
#all #content #left h1, #all #content #right h1, #all #content #left2 h1 {
  font-weight: normal;
  display: flex;
  justify-content: space-between;
}
#all #content #left h1 .dragzone, #all #content #right h1 .dragzone, #all #content #left2 h1 .dragzone {
  cursor: move;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#all #content #left h1 > div:last-child, #all #content #right h1 > div:last-child, #all #content #left2 h1 > div:last-child {
  width: 8%;
  display: none;
  text-align: right;
}
#all #content #left h1:hover > div:last-child, #all #content #right h1:hover > div:last-child, #all #content #left2 h1:hover > div:last-child {
  width: auto;
  display: inline-block !important;
  cursor: pointer;
}
#all #content #left > div, #all #content #right > div, #all #content #left2 > div {
  margin-bottom: 0.5rem;
}
#all #content #left > div > div:not(.fixed), #all #content #right > div > div:not(.fixed), #all #content #left2 > div > div:not(.fixed) {
  max-height: 30vh;
  flex: 1;
  overflow-y: auto;
}
#all #content #left {
  grid-column: 1;
}
#all #content #right {
  grid-column: 2;
}
#all #content #left2 {
  grid-column: 3;
}
#all #content #bottom {
  text-transform: uppercase;
  padding: 0.5em;
  grid-row: 4;
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  color: #fff;
  background-color: #193441;
}
div.grafic div {
  overflow: hidden;
}
div[id^=widget_] table tr {
  vertical-align: top;
}
div.persones-widget {
  display: grid;
  grid-gap: 0.5em;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 11vh;
}
div.persones-widget img {
  border-radius: 5px;
  max-width: 100%;
  max-height: 100%;
}
div.persones-widget div {
  overflow: hidden;
}
div.persones-widget div.marc {
  background-color: lightgray;
  border-radius: 5px;
  display: inline-block;
  min-width: 60%;
  line-height: 1.25em;
}
div.persones-widget div.footer {
  font-size: smaller;
  text-align: center;
  max-height: 1.2em;
}
div.persones-widget > div {
  padding: 0.25em;
  display: flex;
  flex-flow: column;
}
div.persones-widget > div > div:first-child {
  text-align: center;
  font-size: 7vh;
  flex: 1 1;
}
#dades {
  position: absolute;
  left: 14.5vw;
  width: 85vw;
  top: 0;
  right: 0;
  z-index: 5;
}
#dades.grid {
  display: grid;
  grid-column-gap: 0.5em;
}
#dades .apartat::after, #dades form::after {
  content: ' ';
  clear: both;
  display: block;
}
#dades .apartat div.apartatInterior, #dades form div.apartatInterior {
  padding-left: 0.25em;
  overflow: auto;
  width: 100%;
}
#dades .apartat div.apartatInterior table tr, #dades form div.apartatInterior table tr {
  vertical-align: top;
}
#dades .apartat div.apartatInterior table *, #dades form div.apartatInterior table * {
  font-variant-numeric: tabular-nums;
}
#dades.full {
  left: 0;
  width: 100vw;
}
#dades.full ~ div.menuTorna {
  left: 0;
  width: 100vw;
}
#dades .full {
  width: 100%;
}
#dades .half {
  width: 50%;
}
#dades .table-div {
  display: table;
  width: 99%;
}
#dades .table-div > * {
  display: table-row;
}
#dades .table-div > *:first-child {
  display: table-header-group;
  font-weight: bolder;
}
#dades .table-div > *:first-child > * {
  position: sticky;
  top: 0;
  background-color: #f5f5f5;
  z-index: 10;
}
#dades .table-div > * > * {
  display: table-cell;
  vertical-align: top;
  padding: 0.25rem;
}
#dades .table-div > * > * > textarea, #dades .table-div > * > * > .select2-container {
  width: 100%;
}
#dades.o {
  left: 12px;
  width: auto;
  margin-right: 0;
}
#dades .fa:hover, #dades .far:hover, #dades .fal:hover {
  color: #91aa9d;
}
#menuLoading {
  position: absolute;
  background-color: #e7e7e7;
  opacity: 0.7;
  filter: alpha(opacity=70);
  z-index: 9999;
  top: 0;
  right: 0;
  padding-left: 15vw;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#menuLoading div {
  color: #91aa9d;
}
.apartat {
  background-color: rgba(250, 250, 250, .7);
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  margin: 1.5rem 0 0;
  padding: 0.25rem;
}
.apartat div.dada.flex {
  display: flex;
  align-items: flex-start;
  max-width: 100%;
}
.apartat div.dada.flex > input[type="text"][size=''], .apartat div.dada.flex input[type="text"]:not([size¡]), .apartat div.dada.flex select, .apartat div.dada.flex textarea, .apartat div.dada.flex input[type="url"], .apartat div.dada.flex input[type="email"] {
  flex: 1;
  flex-basis: auto;
  min-width: 1em;
}
.il:hover, .menu li:hover {
  background-color: #79a2b4;
  color: #193441;
}
*[onclick] {
  cursor: pointer;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
table.full, table.automax1, table.automax2 {
  width: 100%;
  max-width: 100%;
}
table.fix-headers th {
  background-color: #f5f5f5;
}
table tr.il2 {
  background-color: #deeeee;
}
table tr.il {
  border-bottom: 1px solid #e8e8e8;
}
table th, table td {
  white-space: normal;
  overflow-wrap: break-word;
  text-align: left;
  padding: 2px;
}
table th.automax, table td.automax {
  width: 32%;
}
table th.automax input, table td.automax input, table th.automax textarea, table td.automax textarea, table th.automax select:not(.select2), table td.automax select:not(.select2), table th.automax > span:not(.select2-container), table td.automax > span:not(.select2-container) {
  width: 100% !important;
  max-width: 100% !important;
}
table th.automax span.select2-container, table td.automax span.select2-container {
  max-width: 100%;
}
table th.automin, table td.automin {
  min-width: 1.75em;
  white-space: nowrap;
}
table th > p, table td > p {
  margin: 0;
}
table th.ar, table td.ar {
  text-align: right;
}
table th select, table td select, table th input, table td input, table th text, table td text {
  max-width: 100%;
}
table td {
  border-bottom: 1px #e8e8e8 solid;
}
table td > span {
  white-space: nowrap;
}
table td > span[class^=icon] {
  padding-right: 0;
}
table td.botons {
  display: grid;
  grid-template-columns: repeat(3, min-content);
}
table td.html {
  white-space: normal;
  max-width: 20vw;
  word-break: break-all;
}
table td.html > div {
  max-height: 5em;
  overflow-y: auto;
  cursor: zoom-in;
}
table td.html.expand > div {
  background-color: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  z-index: 10;
  padding: 0.5rem;
  top: 10vh;
  left: 10vw;
  position: fixed;
  width: 80vw;
  max-width: 80vw;
  height: 80vh;
  max-height: 80vh;
  overflow-y: auto;
  cursor: zoom-out;
}
table td.html.expand > div textarea {
  width: 100%;
  height: 100%;
}
table td img {
  max-width: 100%;
  height: auto;
}
table td.min {
  font-size: smaller;
}
table th {
  font-weight: bold;
}
table th > div {
  position: absolute;
  top: 25px;
  width: 100%;
}
table th:not(:hover) .buttons {
  visibility: hidden;
}
table th.sortcol {
  cursor: pointer;
}
table th.sortdesc::before {
  font-family: "Font Awesome 5 Pro";
  content: "\f0dd";
  margin-right: 0.25em;
}
table th.sortasc::before {
  font-family: "Font Awesome 5 Pro";
  content: "\f0de";
  margin-right: 0.25em;
}
table.automax2 td.automax, table.automax2 th.automax {
  width: 50%;
}
table.automax1 td.automax, table.automax1 th.automax {
  width: 100%;
}
label > input[type="checkbox"] {
  margin: 0 0.1em 0 0.25em;
}
input {
  /* display: none; <- Crashes Chrome on hover */
}
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
  /* <-- Apparently some margin are still there even though it's hidden */
}
input[type="radio"] {
  margin: 0 0.1em 0 0.25em;
}
input[type="time"] {
  padding: 0;
  margin: -1px 0;
}
input[type="number"] {
  text-align: right;
}
input[type="color"] {
  vertical-align: text-bottom;
  height: 16px;
  width: 2em;
  appearance: button;
  -webkit-appearance: button;
  -moz-appearance: button;
}
input[type="number"], input[placeholder="dd/mm/aaaa"] {
  font-variant-numeric: tabular-nums;
}
.peuApartat, .titolApartat, .apartat > h1 {
  background: linear-gradient(60deg, #688777, #91aa9d);
  padding: 0.25rem 1rem;
  clear: both;
  color: #fff;
  min-height: 1.5rem;
}
.titolApartat, .apartat > h1 {
  min-height: 1.5rem;
  text-transform: uppercase;
  margin: -1.5rem 0.5rem 0.5rem;
  border-radius: 3px;
  box-shadow: 0 12px 20px -10px rgba(145, 170, 157, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(145, 170, 157, 0.2);
  border-bottom: 1px solid #b5b5b5;
}
.titolApartat .titolApartatFiltres, .apartat > h1 .titolApartatFiltres {
  font-size: 0.7rem;
  margin-left: 1%;
  display: inline;
}
.titolApartat .titolApartatFiltres > *:not(script), .apartat > h1 .titolApartatFiltres > *:not(script) {
  display: inline-block;
}
.titolApartat .titolApartatFiltres > span, .apartat > h1 .titolApartatFiltres > span, .titolApartat .titolApartatFiltres > label, .apartat > h1 .titolApartatFiltres > label {
  margin-left: 0.75%;
}
.titolApartat .titolApartatFiltres label, .apartat > h1 .titolApartatFiltres label {
  color: #fff;
}
.dada {
  float: left;
  padding: 0.25em;
  display: inline-block;
  white-space: nowrap;
}
.dada table td {
  white-space: normal;
}
.dada.full p, .dada.half p {
  white-space: normal;
}
.dada.full textarea, .dada.half textarea {
  width: 99%;
}
.cuadreTextDreta {
  text-align: right;
}
.areaText {
  display: block;
  overflow: hidden;
  overflow-y: scroll;
}
div.permisos div {
  width: 150px;
  float: left;
  margin-right: 0.25em;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.25em 0;
}
.blink {
  -webkit-animation: blink 0.75s linear infinite;
  -moz-animation: blink 0.75s linear infinite;
  -ms-animation: blink 0.75s linear infinite;
  -o-animation: blink 0.75s linear infinite;
  animation: blink 0.75s linear infinite;
}
.iconaFormulari {
  border: 0;
  height: 16px;
  padding: 0;
  cursor: pointer;
  vertical-align: text-bottom;
}
.iconaSubFormulari {
  border: 0;
  height: 12px;
  padding: 3px 0;
  vertical-align: text-bottom;
  cursor: pointer;
}
div.menuEsq {
  position: absolute;
  left: 0;
  top: 0;
  width: 14vw;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  color: #526a5d;
  background-color: #f5f5f5;
  box-shadow: 0 10px 30px -12px rgba(62, 96, 111, 0.42), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(62, 96, 111, 0.2);
  text-transform: uppercase;
}
div.menuEsq .taulaMenuEsq {
  width: 100%;
}
div.menuEsq .taulaMenuEsq * {
  max-width: 13vw;
}
div.menuEsq .taulaMenuEsq td {
  border: 0;
  padding: 0.25em 0.5em;
  white-space: nowrap;
}
div.menuEsq .taulaMenuEsq td.menuSel a {
  color: #fff;
}
div.menuEsq .taulaMenuEsq td a {
  overflow: hidden;
  padding: 0.5em;
  display: block;
}
div.menuEsq .taulaMenuEsq td a :before {
  font-family: "Font Awesome 5 Pro";
  content: "\f0da";
  margin-right: 0.25em;
}
div.menuEsq .taulaMenuEsq tr:first-child:not(:hover) td:first-child:not(.menuSel) {
  border-bottom: 1px solid #3e606f;
}
div.menuEsq .taulaMenuEsq tr:first-child:not(:hover) td:first-child:not(.menuSel) * {
  font-weight: bolder;
}
div.menuEsq .taulaMenuEsq tr:hover a, div.menuEsq .taulaMenuEsq td.menuSel a {
  box-shadow: 0 12px 20px -10px rgba(62, 96, 111, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(62, 96, 111, 0.2);
  border-radius: 3px;
  background-color: #3e606f;
  text-shadow: none;
}
div.menuEsq .taulaMenuEsq tr:hover a td, div.menuEsq .taulaMenuEsq td.menuSel a td {
  text-shadow: none;
}
div.menuEsq .taulaMenuEsq tr:hover td:not(.menuSel) a {
  background-color: #79a2b4;
  box-shadow: none;
}
.menuTorna {
  z-index: 5;
  position: absolute;
  overflow: hidden;
  bottom: 0;
  left: 15vw;
  width: 84vw;
  text-transform: uppercase;
  background-color: #193441;
  border-radius: 3px 3px 0 0;
}
.menuTorna form {
  display: inline-block;
}
.menuTorna div {
  float: left;
  margin: 0.5em 0 0.5em 0.25em;
  padding: 0.25em 0.5em;
  min-height: 1.6rem;
  border-radius: 3px;
  vertical-align: middle;
  color: #fff;
}
.menuTorna div button {
  background: inherit;
  color: inherit;
  text-transform: inherit;
}
.menuTorna div:hover {
  background-color: #91aa9d;
}
.menuTorna div.menuTornaImprimir:before {
  font-family: 'Font Awesome 5 Pro';
  font-weight: 300;
  content: "\f02f";
}
.menuTorna div.menuTornaCheck:before {
  font-family: 'Font Awesome 5 Pro';
  font-weight: 300;
  content: "\f00c";
}
.menuTorna div#menuTornaCercaMapa:before {
  font-family: 'Font Awesome 5 Pro';
  font-weight: 300;
  content: "\f279";
}
.menuTorna div.menuTornaTorna:before {
  font-family: 'Font Awesome 5 Pro';
  font-weight: 300;
  content: "\f00d";
}
.menuTorna div.menuTornaModifica:before {
  font-family: 'Font Awesome 5 Pro';
  font-weight: 300;
  content: "\f044";
}
.menuTorna div.menuTornaDesa:before {
  font-family: 'Font Awesome 5 Pro';
  font-weight: 300;
  content: "\f0c7";
}
.menuTorna div.menuTornaEnvia:before {
  font-family: 'Font Awesome 5 Pro';
  font-weight: 300;
  content: "\f0e0";
}
.menuTorna div.menuTornaElimina:before {
  font-family: 'Font Awesome 5 Pro';
  font-weight: 300;
  content: "\f1f8";
}
.menuTorna div.menuTornaExcel:before {
  font-family: 'Font Awesome 5 Pro';
  font-weight: 300;
  content: "\f019";
}
.menuTorna div.menuTornaCerca:before {
  font-family: 'Font Awesome 5 Pro';
  font-weight: 300;
  content: "\f002";
}
.menuTorna div.menuTornaFoto:before {
  font-family: 'Font Awesome 5 Pro';
  font-weight: 300;
  content: "\f030";
}
.menuTornaL {
  float: left;
}
.menuTornaR {
  background-color: #bcbcd2;
  border-top: solid 1px #e3e3e9;
  border-bottom: solid 1px #a0a0b3;
  float: right;
}
/* Estils pels enllaços */.linkMenu {
  font-weight: normal;
}
/* Colors */.colorFonsMenu {
  background-color: #f5f5f5;
}
.colorFilaImportant {
  background-color: #d1dbbd;
}
.textAsistenciaUrgent {
  background-color: rgba(255, 0, 0, 0.05);
}
.textAlerta {
  color: #f60;
}
.textAlerta input, .textAlerta select, .textAlerta textarea {
  color: inherit;
}
.textImportant {
  color: #f60;
}
tr.textImportant td {
  border-color: red;
  font-weight: bold;
  color: #000;
}
tr.textImportant td * {
  font-weight: inherit;
}
.textDestacat {
  font-weight: bolder;
}
.fc-event.citaLliure {
  border-color: green;
  border-style: dashed;
}
.fc-event.citaOcupada {
  border-color: rgba(255, 0, 0, .5);
}
.cal-col {
  border: 1px solid #ddd;
  margin: 0;
  padding: 0;
  border-collapse: separate;
}
.color-avui {
  background-color: #fff7d7;
  border: 1px solid #fad163;
}
.color-festiu {
  background-color: #e3e9ff;
}
.color-absencia {
  background-color: #ffe7ce;
}
.color-titol-cal {
  background-color: #e7e7e7;
  color: #105f7d;
  border-width: 0;
}
.cal-col div[onclick], .cal-col [onclick] {
  cursor: pointer;
}
.cal-col div[onclick] :hover, .cal-col [onclick] :hover {
  background-color: #fff7d7;
  border-color: #fad163;
  text-decoration: none;
}
.cal-horari {
  position: absolute;
  border: 1px solid #777;
  border-collapse: collapse;
  font-size: smaller;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
}
.cal-horari div {
  padding: 1px;
  font-size: inherit;
  white-space: nowrap;
}
.cal-horari-mes {
  border: 1px solid #777;
  border-collapse: collapse;
  font-size: smaller;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
}
.cal-horari-fix div {
  white-space: normal;
}
.cal-hora {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom: 1px solid #999;
  background-color: black;
  opacity: 0.5;
  color: white;
  font-weight: bold;
  width: 100%;
  white-space: nowrap;
  overflow: inherit;
}
.cal-hora-peu {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: right;
}
.cal-time-pri {
  border-bottom: 1px solid #ddd;
  width: 100%;
  text-align: right;
  margin: 0;
  border-collapse: separate;
  padding: 0;
}
.cal-time-sec {
  border-bottom: 1px dotted #ddd;
  width: 100%;
  text-align: right;
  margin: 0;
  border-collapse: separate;
  padding: 0;
}
.nvs {
  display: none !important;
}
.tree {
  user-select: none;
}
.tree ul, .tree li {
  padding: 0;
  margin: 0;
  list-style: none;
}
.tree input.branca {
  position: absolute;
  opacity: 0;
}
.tree a {
  text-decoration: none;
}
.tree input + label + ul {
  margin: 0 0 0 1em;
}
.tree input ~ ul {
  display: none;
}
.tree input:disabled + label {
  cursor: default;
  opacity: 0.6;
}
.tree input:checked:not(:disabled) ~ ul {
  display: block;
}
.tree input + label::before {
  font-family: "Font Awesome 5 Pro";
  content: "\f0da";
}
.tree input:checked + label::before {
  font-family: "Font Awesome 5 Pro";
  content: "\f0d7";
}
.mce-tinymce .mce-flow-layout {
  white-space: nowrap;
  overflow-y: auto;
}
.flex .mce-panel, .flex .mce-stack-layout {
  flex: 1;
  display: flex;
  flex-flow: column;
}
.flex .mce-panel .mce-edit-area, .flex .mce-stack-layout .mce-edit-area {
  flex: 1;
}
.flex .mce-panel .mce-edit-area iframe, .flex .mce-stack-layout .mce-edit-area iframe {
  height: 100% !important;
}
.mce-ico {
  font-size: inherit !important;
  width: auto !important;
  line-height: inherit !important;
}
.mce-btn-small button {
  padding: 1px 3px !important;
}
.mce-toolbar-grp {
  padding: 0 !important;
}
.mce-flow-layout-item {
  margin: 0 !important;
}
table .select2.select2-container {
  width: 100%;
}
.select2 * {
  line-height: 1.25em !important;
  border: 0 !important;
}
.select2 ul {
  display: flex !important;
  flex-flow: row wrap;
}
.select2.select2-container {
  min-width: 8em;
  max-width: inherit;
  flex: 1;
  vertical-align: top;
}
.select2.select2-container .select2-selection--single {
  min-height: 1.4em !important;
  height: initial !important;
}
.select2.select2-container .select2-selection--multiple {
  min-height: 1.4em;
}
.select2 .select2-selection__rendered {
  padding: 0 1.5em 0 0.25em !important;
}
.select2 .select2-selection__rendered * {
  background: none !important;
  margin: 0 !important;
  color: black !important;
}
.select2 .select2-selection__choice {
  padding: 0 0.25em !important;
  margin-right: 0.5em !important;
}
.flex-rw {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.flex-rw > form {
  display: flex;
  flex-wrap: wrap;
}
.flex-rw .apartat {
  flex: 1 0;
}
.flex-rw .apartat > div.dada.full, .flex-rw .apartat div.dada.half {
  display: flex;
}
.flex-rw .apartat > div.dada.full input:not([type="checkbox"]), .flex-rw .apartat div.dada.half input:not([type="checkbox"]), .flex-rw .apartat > div.dada.full select, .flex-rw .apartat div.dada.half select, .flex-rw .apartat > div.dada.full textarea, .flex-rw .apartat div.dada.half textarea {
  flex: 1 1;
}
.flex-rw > div.dada.flex {
  flex: 1 0;
}
.flex-rw::after {
  content: '';
  flex: auto;
}
.pac-container {
  min-width: 20em;
}
.leaflet-container {
  box-sizing: border-box;
}
.leaflet-container .legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  background-color: rgba(255, 255, 255, .75);
  margin: 0.5em;
  padding: 0.25em 0.5em;
  border-radius: 4px;
  max-height: 75vh;
  overflow: auto;
}
.leaflet-container .legend > * {
  margin: 0 0.5em;
}
.leaflet-container .legend .legend tr:hover {
  background-color: lightgrey;
}
.leaflet-container .legend .legend td {
  padding: 0.25em;
  vertical-align: baseline;
}
#ajuda {
  resize: both;
  overflow: hidden;
  position: absolute;
  top: 10vh;
  left: 30vw;
  width: 50vw;
  height: 60vh;
  z-index: 100;
}
#ajuda div.titolApartat {
  cursor: move;
}
#ajuda .apartat {
  height: 100%;
  width: 100%;
  background-color: white;
}
#ajuda #ajuda-content {
  max-height: 90%;
  max-width: 100%;
  padding: 1em;
  overflow: auto;
}
*[ajuda-src]:after {
  content: '\f059';
  font-family: "Font Awesome 5 Pro";
  font-weight: 200;
  cursor: pointer;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .tree {
    -webkit-animation: webkit-adjacent-element-selector-bugfix infinite 1s;
  }
  @-webkit-keyframes webkit-adjacent-element-selector-bugfix {
    from {
      padding: 0;
    }
    to {
      padding: 0;
    }
  }
}
@media only print {
  body {
    background: white;
    height: auto;
    max-height: none;
  }
  .apartatInterior {
    height: auto !important;
    max-width: none !important;
  }
  * {
    -webkit-print-color-adjust: exact;
  }
  div.menuEsq, #menuTorna, .remove-print {
    display: none;
  }
  .no-print {
    visibility: hidden;
  }
  #dades {
    left: 0;
    width: 100%;
    max-width: 100%;
  }
  #dades table td.html > div {
    max-height: none;
    max-width: none;
  }
}
