@charset "utf-8";
/* CSS Document */

@font-face {
    font-family: 'RobotoLight';
    src: url(../Fonts/Roboto-Light.eot);
    src: url(../Fonts/Roboto-Light.eot?#iefix) format('embedded-opentype'),
         url(../Fonts/Roboto-Light.woff) format('woff'),
         url(../Fonts/Roboto-Light.ttf) format('truetype'),
         url(../Fonts/Roboto-Light.svg#robotolight) format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
	font-family: 'OpenSans';
	src: url(../Fonts/OpenSans-Regular.eot);
	src: url(../Fonts/OpenSans-Regular.eot?#iefix) format('embedded-opentype'),
		 url(../Fonts/OpenSans-Regular.woff) format('woff'),
		 url(../Fonts/OpenSans-Regular.ttf) format('truetype'),
		 url(../Fonts/OpenSans-Regular.svg#open_sansregular) format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'OpenSansBold';
	src: url(../Fonts/OpenSans-Bold.eot);
	src: url(../Fonts/OpenSans-Bold.eot?#iefix) format('embedded-opentype'),
		 url(../Fonts/OpenSans-Bold.woff) format('woff'),
		 url(../Fonts/OpenSans-Bold.ttf) format('truetype'),
		 url(../Fonts/OpenSans-Bold.svg#open_sansbold) format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'FontAwesome';
	src: url(../Fonts/fontawesome-webfont.eot?v=4.7.0);
	src: url(../Fonts/fontawesome-webfont.eot?#iefix&v=4.7.0) format('embedded-opentype'),
		 url(../Fonts/fontawesome-webfont.woff?v=4.7.0) format('woff'),
		 url(../Fonts/fontawesome-webfont.ttf?v=4.7.0) format('truetype'),
		 url(../Fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular) format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "MDI";
	src: url(../Fonts/materialdesignicons-webfont.eot?v=4.8.95);
	src: url(../Fonts/materialdesignicons-webfont.eot?#iefix&v=4.8.95) format("embedded-opentype"), 
		 url(../Fonts/materialdesignicons-webfont.woff2?v=4.8.95) format("woff2"),
		 url(../Fonts/materialdesignicons-webfont.woff?v=4.8.95) format("woff"),
		 url(../Fonts/materialdesignicons-webfont.ttf?v=4.8.95) format("truetype");
	font-weight: normal;
	font-style: normal;
}

* {box-sizing:border-box;}

/* --------------- Estils generals per a totes les pàgines ------------------*/

html {
	overflow-y:auto;
}
body {
	margin:0;
	padding:43px 0px;
	font-family:OpenSans, Arial, Helvetica, sans-serif;
	font-size:12pt;
	line-height:1.4em;
	background-color:#F3EEDD;
}

header {
	position:fixed;
	top:0px;
	z-index:90;
	width:100%;
	height:43px;
	background-color:#39C;
	color:#FFF;
}

footer {
	position:fixed;
	bottom:0px;
	width:100%;
	background-color:#09C;
	font-size:75%;
	color:#FFF;
}

footer a:link, footer a:visited {
	color:#FFF;
	text-decoration:none;
}

footer a:hover {
	text-decoration:underline;
}

#cnt-opc {
	background-color:#09C;
	width: 200px;
}

#cnt-opc ul {
	background-color:#09C;
}

#cnt-opc.closed {
	width:48px;
}

#collapse-opc {
	position:absolute;
	top:0;
	right:0;
	width:32px;
	height:32px;
}


#cnt-stuff.closed {
	margin-left:48px;
}

h1 {
	font-family:OpenSans, sans-serif;
	/*font-size:150%;*/
	font-weight:normal;
	color: #666;
	margin:0px 0px 10px 0px;
	/*padding:10px;*/
	border:1px solid #CCC;
	background-color:#FFF;
	display:block;
}

h2 {
	font-family:OpenSansBold;
	font-weight:normal;
	color: #666;
	margin-bottom:10px;
}

h3 {
	font-family:OpenSansBold;
	font-weight:normal;
	font-size:125%;
	text-align:center;
	color: #666;
	margin-bottom:10px;
}

.alerta {
	border:2px solid #d4323d;
	background-color:#FFDACA;
	padding:15px;
	margin:15px auto;
	color: #555;
}
.avis {
	max-width:600px;
	border:2px solid #F60;
	background-color: #FF9;
	padding:15px;
	margin:15px auto;
	color: #555;
}
.fet {
	border:2px solid #093;
	background-color:#DAFFCA;
	padding:15px;
	margin:15px auto;
	color: #555;
}
.result {
	border:2px solid #360;
	background-color:#EAFFD5;
	padding:15px;
	margin:15px auto;
	color: #555;
}

.destacat {
	color:#F00;
	font-family:OpenSansBold;
	font-weight:normal;
}

/* --------------- Estils per capçalera, peu i menú -------------------------*/

#logo {
	float:left;
	line-height:43px;
	font-family:RobotoLight;
}
#logo img {
	float:left;
	margin:3px;
	height:38px;
	width:auto;
}
#cnt-usr, #cnt-avisos, #cnt-debug {
	float:right;
	position:relative;
}
.num-avisos {
	display:block;
	width:20px;
	height:20px;
	background-color:#FF0000;
	color:#FFF;
	text-align:center;
	font-size:12px;
	line-height:20px;
	font-weight:bold;
	border-radius:10px;
	position:absolute;
	top:5px;
	right:5px;
}

#dbg-info {
	color:#FFF;
}

#dbg-info div, #menu-avisos div {
	line-height:30px;
}

#dbg-time:before {
	content: "\F150";
	margin:0px 10px;
	font-family: "MDI";
}

#dbg-mem:before {
	content: "\F61A";
	margin:0px 10px;
	font-family: "MDI";
}

#cnt-usr:hover #menu-usuari {
	max-height:450px;
	overflow-y:auto;
}

#cnt-avisos:hover #menu-avisos {
	max-height:450px;
	overflow-y:auto;
}

#cnt-debug:hover #dbg-info {
	max-height:450px;
	overflow-y:auto;
}

#menu-usuari, #menu-avisos, #dbg-info {
	background-color:#09C;
	position:absolute;
	max-height:0px;
	overflow:hidden;
	width:175px;
	top:43px;
	right:0px;
	z-index:2000;
	padding:0px 10px;
}

#menu-avisos {
	width:300px;
}

#menu-avisos a {
	display:block;
	padding:5px;
	cursor:pointer;
}

#menu-avisos a.pendent {
	font-weight:bold;
}

#menu-avisos a:after {
	content: "\F142";
	float: right;
	font-size:150%;
	font-family: "MDI";
}
	
.opcUsuari, #menu-usuari a {
	display:block;
	text-align:center;
	height:30px;
	line-height:30px;
}
#menu-usuari a:last-child, #menu-avisos a:last-child {margin-bottom:10px;}

#nom-usuari:before {
	content: "\f007";
	display: inline;
	margin-right:10px;
	font-family: "FontAwesome";
}

header a:link, header a:visited {
	text-decoration:none;
	color:#FFF;
}
header a:hover {
	text-decoration:none;
	background-color:#FFF;
	color:#09C;
}

/*----------------------- Maquetació del menú --------------------------*/
#show-menu {
	float:left;
	display:inline-block;
	width:43px;
	height:43px;
	text-align:center;
	/*margin:0px 10px;*/
}

#show-menu:before {
    content: "\F35C";
	font-size:36px;
	line-height:43px;
	color:#FFF;
    font-family: "MDI";
}

.acordioPanellCont {
	background-color:#333;
	max-height:0px;
	overflow:hidden;
	/*padding-left:20px;*/
	transition: max-height 0.5s ease-in-out;
}
.acordioPanellTab:hover {
	cursor:pointer;
}

.filaPanell a {
	padding-left:10px;
}

h5 {
	font-family:OpenSans, sans-serif;
	font-size:125%;
	font-weight:normal;
	color: #FFF;
	margin:0px;
	padding:8px;
	border-bottom:1px solid #CCC;
	position:relative;
}

.acordioPanellTab h5:after {
    content: "\F142";
	position:absolute;
	right:0px;
	color:#FFF;
    font-family: "MDI";
}

.acordioPanellTab.obert h5:after {
    content: "\F140";
	position:absolute;
	right:0px;
	color:#FFF;
    font-size: 20px;
    font-family: "MDI";
}

.acordioPanellCont.obert {
	max-height:500px;
/*	border-bottom: 1px solid #CCC;
*/}

#menu-opcions a {
	display:block;
	height:38px;
	line-height:38px;
}

#menu-opcions a:link, #menu-opcions a:visited {
	text-decoration:none;
	color:#FFF;
}

#menu-opcions a:hover, .actual {
	text-decoration:none;
	border-right:8px solid #09C;
	font-family:OpenSansBold, sans-serif;
	background-color:#666;
}

.titMenu {
	font-family:OpenSansBold, sans-serif;
	font-size:100%;
	color:#FFF;
	padding:10px;
	text-transform:uppercase;
}

/* --------------- Estils per les finestres flotants ------------------------*/

#gris, #gris2 {
	background-color:#000;
	opacity:0.5;
	filter: alpha(opacity = 50);
	position:fixed;
	top:0;
	bottom:0;
	left:0;
	right:0;
	z-index:300;
}

#gris2 {
	z-index:100;
}

#blanc {
	background:#FFF url(../imatges/loading.gif) no-repeat center center;
	opacity:0.5;
	filter: alpha(opacity = 50);
	position:fixed;
	width:100%;
	height:100%;
	top:0;
	bottom:0;
	left:0;
	right:0;
	z-index:900;
}

#edit, #edit2 {
	background-color:#FFF;
	position:fixed;
	z-index:400;
	max-width:100%;
	height:auto;
	max-height:100%;
	left:50%;
	top:50%;
	padding:20px;
	overflow-y:auto;
	overflow-x:hidden;
}
#edit, #edit2 { width:600px; margin-left:-300px; }
#edit2 { z-index:350;}

#terminal {
	background-color:#FFF;
	position:fixed;
	z-index:200;
	top:0;
	left:0;
	right:0;
	bottom:0;
	padding:20px;
	margin:10px;
	overflow-y:auto;
	overflow-x:hidden;
}

#entrades {
	width:100%;
	height:250px;
	overflow-y:auto;
	border:1px solid #CCC;
	padding:5px;
	margin-top:10px;
}
.filEnt {
	padding: 5px 70px 5px 5px;
    border: 1px solid #CCC;
    margin-bottom: 5px;
    position: relative;
	overflow: hidden;
	white-space: nowrap;
	text-overflow:ellipsis;
	cursor:ns-resize;
}
.filEnt:last-child {
	margin-bottom:0px;
}
.titEdit {
	font-family:OpenSansBold;
	font-size:110%;
	margin:-20px -20px 10px -20px;
	padding:10px;
	background-color:#EEE;
	cursor:move;
}
.titEdit:before {
	font-size:125%;
}
.titCercar:before {
	content: "\F232";
	margin-right:10px;
	font-family: "MDI";
}
.titResums:before {
	content: "\F82D";
	margin-right:10px;
	font-family: "MDI";
}
.ellip {
	overflow: hidden;
	white-space: nowrap;
	text-overflow:ellipsis;
}

/* --------------- Estils per als camps de formulari ------------------------*/
label {padding:4px 0px;}
.lblRadio {
	display:block;
	padding:0px !important;
}
.retol {
	color:#999;
	font-family:OpenSansBold;
	font-weight:normal;
}
fieldset {
	border:1px solid #CCC;
	padding:10px;
}
legend { padding:0px 6px;}
input, select {
	padding:4px !important;
	font-family:OpenSans, sans-serif;
	border:1px solid #CCC;
}
input:disabled, select:disabled {
	border:1px solid #CCC;
	background-color:#EEE;
}
option:disabled {color:#CCC !important;}
input[type='checkbox'] {
	margin:8px 0px;
}
input[type='radio'] {
	margin:8px;
}
input[type='date'] {
	max-width:165px;
}

input[type="date"]::-webkit-inner-spin-button {
	display:none;
}
textarea {
	padding:4px;
	font-family:OpenSans, sans-serif;
	border:1px solid #CCC;
	vertical-align:inherit;
	width:auto;
}
#cnt-festes {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 5px;
}
/* --------------- Estils específics de la pàgina de login ------------------*/
.mid-cen {
	text-align:center;
	max-width:500px;
	margin:50px auto;
	padding:0px 10px;
}

.titLogin {
	font-family:RobotoLight, sans-serif;
	font-size:54px;
	font-weight:normal;
	line-height:1.15em;
	color: #666;
	margin:0px 0px 10px 0px;
}


.row {
	margin-bottom:6px;
}

.row:after {
	content:'';
	display:block;
	clear:both;
}
.row label {padding:4px 0px;}
/*----------------------- Pàgines d'error --------------------------*/
#numError {
	font-family:OpenSansBold;
	font-size:600%;
	font-weight:normal;
	color: #09C;
	text-align:center;
	line-height:normal;
}
#textError {
	font-size:200%;
	color: #09C;
	text-align:center;
	line-height:normal;
}

.idx-grups {
	background-color:#FFF;
	padding:20px;
	border:1px solid #CCC;
}
.unGrup {
	padding:5px;
	cursor:pointer;
}
.unGrup:hover {
	background-color:#99CCFF;
}
.selected {
	background-color:#99CCFF;
}

.check, .checkAll {
	padding:0px;
}
.check input, .checkAll input {
	display:none;
}
.check:before, .checkAll:before {
	font-family: "MDI";
	font-size:150%;
	content: "\FA18";
}
.check.on:before, .checkAll.on:before {
	font-family: "MDI";
	font-size:150%;
	content: "\F521";
}

.control {
	font-size:80%;
	padding:5px 10px;
	margin-top:10px;
	background-color:#09C;
	color:#FFF;
}

.control:after {
	display:block;
	content:'';
	clear:both;
}

.ctrlIco:before {
	content: "\f02e";
	margin-right:10px;
	font-family: "FontAwesome";
}

.ctrlAdd:before {
	content: "\F0C0";
	margin-right:10px;
	font-family: "MDI";
}

.crtlEdit:before {
	content: "\F64F";
	margin-right:10px;
	font-family: "MDI";
}

.ctrlUsr:before {
	content: "\F004";
	margin-right:10px;
	font-family: "MDI";
}
/* ---------------- Estils especials equips taller ----------------- */
#cntRev {
	max-height:450px;
	overflow-y:auto;
}
.tit2 {
	font-family: OpenSansBold;
    font-size: 100%;
    background-color: #D7E0E3;
    margin-top: 10px;
    padding: 5px;
    text-align: left;
}
/* ------------------ Estils especials de fitxes ------------------- */
.copyTotes {
	padding:6px;
	background-color:#09C;
}
.copyTotes label {
	display:block;
	color:#FFF !important;
	margin-left:20px;
}
.copyUna {
	padding:2px 2px 2px 6px;
	border-bottom:1px solid #CCC;
}
.copyUna label {
	display:block;
	font-family:OpenSans !important;
	color:#666 !important;
	padding-left:20px;
}
.checkUna {
	float:left;
}
.lblCheck {
	padding-left:0px !important;
}
.lblCheck:before {
	margin-right:6px;
	font-family: "FontAwesome";
	content: "\f046";
}
/* ---------------------- Estils de llistats ----------------------- */
.statNav {
	float:right;
	font-size:80%;
}
.dades {
	display:table;
	width:100%;
	border-spacing:1px;
	margin:10px 0px;
}
.capDetall {
	max-width:600px;
	border: 1px solid #ccc;
	border-radius:10px;
	padding:10px;
	margin:10px auto;
}
.sort {
	cursor:ns-resize;
}

.pijama:hover {
	background-color: rgba(0,153,51,0.25) !important;
}

.pijama {
	background-color:#EEE;
}

.pijama:nth-child(2n+1) {
	background-color:#D7E0E3;
}
.pijama.totals {
	font-family:OpenSansBold;
}
.vista > div {background-color: rgba(255,200,0,0.5);}
.alarma > div {background-color:rgba(255,255,102,0.5);}
.excedida > div {background-color:rgba(255,204,153,0.5);}
.markExced {outline:2px solid #F00;}
.vigent > div { background-color:rgba(255,255,102,0.5);}
.filaP div { background-color:#F0F0FF;}
.filaF div { background-color:#FFF;}
.fldCerca {background-color: rgba(255,200,0,0.25) !important;}
.celaF {
	display:table-cell;
	padding: 4px 4px 4px 16px;
	text-align:left;
}
.celaCap {
	font-family:OpenSansBold;
	font-size:90%;
	text-align:center;
	vertical-align:bottom;
	padding:8px;
	background-color:#09C;
	color:#FFF;
}
.lstError:before {
	content: "\F026";
	margin-right:10px;
	font-family: "MDI";
}
.lstInici:before{
	content: "\F2DC";
	margin-right:10px;
	font-family: "MDI";
}
.lstEstadistica:before {
	content: "\F12A";
	margin-right:10px;
	font-family: "MDI";
}
.lstAgenda:before {
	content: "\FDFA";
	margin-right:10px;
	font-family: "MDI";
}
.lstVariables:before {
	content: "\F8D5";
	margin-right:10px;
	font-family: "MDI";
}
.prefUsuari:before {
	content: "\F630";
	margin-right:10px;
	font-family: "MDI";
}
.lstMenu:before {
	content: "\F35C";
	margin-right:10px;
	font-family: "MDI";
}
.lstLogactiv:before {
	content: "\F2DA";
	margin-right:10px;
	font-family: "MDI";
}
.lstAuxiliars:before {
	content: "\F1B8";
	margin-right:10px;
	font-family: "MDI";
}
.lstTables:before {
	content: "\F4F1";
	margin-right:10px;
	font-family: "MDI";
}
.lstUsuaris:before {
	content: "\F004";
	margin-right:10px;
	font-family: "MDI";
}
.lstPermisos:before {
	content: "\F33F";
	margin-right:10px;
	font-family: "MDI";
}

.lstRols:before {
	content: "\FD86";
	margin-right:10px;
	font-family: "MDI";
}

.lstFamilies:before {
	content: "\F645";
	margin-right:10px;
	font-family: "MDI";
}
.lstProductes:before {
	content: "\F2A1";
	margin-right:10px;
	font-family: "MDI";
}
.lstVendes:before, .lstTerminal:before {
	content: "\FCD0";
	margin-right:10px;
	font-family: "MDI";
}
.lstImportacio:before {
	content: "\F2FA";
	margin-right:10px;
	font-family: "MDI";
}
.lstTipusClients:before {
	content: "\F933";
	margin-right:10px;
	font-family: "MDI";
}
.lstClients:before {
	content: "\F006";
	margin-right:10px;
	font-family: "MDI";
}
.lstFactures:before {
	content: "\F9ED";
	margin-right:10px;
	font-family: "MDI";
}
.lstActivitats:before {
	content: "\F070";
	margin-right:10px;
	font-family: "MDI";
}
.tabDB:before {
	content: "\F1B8";
	margin-right:10px;
	font-family: "MDI";
}

.tabWeb:before {
	content: "\F59F";
	margin-right:10px;
	font-family: "MDI";
}

.tabMail:before {
	content: "\F1F0";
	margin-right:10px;
	font-family: "MDI";
}

.tabLogs:before {
	content: "\F2DA";
	margin-right:10px;
	font-family: "MDI";
}

.tabMag:before {
	content: "\F3D7";
	margin-right:10px;
	font-family: "MDI";
}

.tabAgd:before {
	content: "\FDFA";
	margin-right:10px;
	font-family: "MDI";
}

.tabImport:before {
	content: "\F2FA";
	margin-right:10px;
	font-family: "MDI";
}

.tabGral:before {
	content: "\F493";
	margin-right:10px;
	font-family: "MDI";
}

.tabPrint:before {
	content: "\F42A";
	margin-right:10px;
	font-family: "MDI";
}

.tabContact:before {
	content: "\FDF1";
	margin-right:10px;
	font-family: "MDI";
}

.tabVnd:before {
	content: "\FCD0";
	margin-right:10px;
	font-family: "MDI";
}

.tabRpt:before {
	content: "\F0BA";
	margin-right:10px;
	font-family: "MDI";
}

.tabLogo:before {
	content: "\f024";
	margin-right:10px;
	font-family: "FontAwesome";
}

.tabSalut:before {
	content: "\F5F6";
	margin-right:10px;
	font-family: "MDI";
}
.unaStat .wrap {
	padding:20px;
	height:100%;
}
.titStat {
	font-size:125%;
}
.iconStat {
	font-family:"MDI";
	font-size:500%;
	line-height:1;
	text-align:center;
	margin:10px 0px;
}
.titIcona {
	font-family:"MDI";
	display:inline-block;
	margin-right:10px;
	font-size:125%;
}
.periodStat {
	padding:10px;
	font-size:125%;
}
.periodStat:before {
	content: "\F520";
	margin-right:10px;
	font-family: "MDI";
}
