html , body {
	/* perquè funcioni height ha d'estar declarat en tots els contenidors pare */
	height: 100%;
}

.moradocs {
	background-color: #AFC3CF ;
	background-image: url(../images/header.png);
	background-repeat: no-repeat;
	background-size: cover;	
}

.loginback  {
	background-color: #AFC3CF ;
	/*background-image: url(../images/logo_nou.svg), url(../images/header.png);*/
	background-image: url(../images/logo_nou.svg);
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: contain;
	width: 100%;
}


/* ALTURA ************************************************************/
.altura-contingut {
	overflow: auto;
	min-height: 85% !important;
	height: auto !important;
}

.altura-100 {
	height:100%;
	min-height:100%;
}

.altura-99 {
	height:99%;
	min-height:99%;
}

.altura-90 {
	height:90%;
	min-height:90%;
}

.altura-85 {
	height:85%;
	min-height:85%;
}

.altura-80 {
	height:80%;
	min-height:80%;
}

.altura-10 {
	height:10%;
	min-height:10%;
}

/* PADDING **************************************************************/
.padtb-10 {
	padding-top: 10px;
	padding-bottom: 10px;
}
.padtb-20 {
	padding-top: 20px;
	padding-bottom: 20px;
}

.padl-20 {
	padding-left: 20px;
}

.padl-40 {
	padding-left: 40px;
}

/* LOGIN ******************************************************************/
.login{padding-top: 65px;}

.login {
	width: 440px;
	border: 1px solid white;
	margin: 5% auto 0;
	padding: 0.7em;
	-moz-border-radius: 3px;
}

.login h1 {
	text-align:left !important;
	font-size:18px !important;
	/*background-color: #4DC9F8;*/
	background-color: #7f7f7f;
	color: white;
	border: 1px solid white;
	padding-left: 3px;
	margin-top:0;	
}

/* CENTER *****************************************************************/
.center{float: none; margin-left: auto; margin-right: auto;}

/* INPUT ******************************************************************/
.cospi input[type=text], .cospi input[type=password] {
	display: block;
	margin: 0 0 1em 0;
	width: 400px;
	border: 5px;
	-moz-border-radius: 1px;
	-webkit-border-radius: 1px;
	padding: 8px;
}

.cospi2 input[type=text] {
	display: block;
	margin: 0 0 1em 0;
	width: 600px;
	border: 5px;
	-moz-border-radius: 1px;
	-webkit-border-radius: 1px;
	padding: 3px;
}

.cospi input[type=submit], .cospi form a {
	color: #ffffff;
	/*background-color: #006699; */
	/*background-color: #4DC9F8;*/
	background-color: #7f7f7f;
	font-weight:normal;
	border: 1px solid transparent;
	padding: 3px;
	margin-right: 15px;
}

.cospi input[type=submit]:hover, .cospi form a:hover {
	text-decoration: none;
	/*color: #4DC9F8;*/
	color: #7f7f7f;
	border: 1px solid #ff5500;
	background-color: #ffffff;
	padding: 3px;
}

.cospi2 label {
	display: table;
}

.cospi2 textarea {
	width: 600px;
}

/* dropdown */
.cospi select {
	display: block;
	background: #ffffff;
   	width: 400px;
   	padding: 5px;
   	font-size: 16px;
   	line-height: 1;
   	border: 0;
   	border-radius: 0;
   	height: 34px;
   	-webkit-appearance: none;
}

/* PIE ***************************************************************/
.pie {
	position: absolute;
	/*top: 20px;*/
	/*top: 40px;*/
	top: 10px;
	right: 2%;
}

.pie img {
	width: 75px;
}

.pie a {	
	color:white;
	text-decoration: none;
	
}

.pie a:hover {	
	text-decoration: none;
	/*color: #4DC9F8;*/
	color: #7f7f7f;
	border: 1px solid #ff5500;
	background-color: #ffffff;
}

/* FORMULARI *********************************************************/
.formulario {
	/*min-height: 99%;*/
   overflow: auto; 	/* apareix scroll quan contingut supera */
   width: 100%;	 	/* overflow: no funciona sol en ie.*/
}

.formulario h1 {
	text-align:left !important;
	font-size:18px !important;
	/*background-color: #4DC9F8;*/
	background-color: #7f7f7f;
	color: white;
	border: 1px solid white;
	padding-left: 3px;
	margin-top:0;	
}

/* MENU-TOP **********************************************************/
.menu-top ul {
	position: relative;
	/*left: -10px;*/
}

.menu-top li {
	display:inline;
	float:left;	
}

.menu-top a {	
	color:white;
	text-decoration: none;
	padding: 2px 5px 2px 5px;	
	margin: 2px 5px 2px 5px ;
	border: 1px solid #ff5500;
}

.menu-top a:hover {	
	text-decoration: none;
	/*color: #4DC9F8;*/
	color: #7f7f7f;
	background-color: #ffffff;
}

/*****************************************************/
/* MENU DE FORMULARIOS COSPITECH class menu_cospitech */
/*****************************************************/
.label_alta {
	position: absolute;
	left: 419px;
	top: 244px;
}

.posicio_alta {
	position: absolute;
	left: 420px; 
	top: 264px;
}

.menu_cospitech {
	/*padding-left: 20px;*/
	padding-left: 0px;
	margin-top: 20px;
	
	
}

.menu_cospitech li {
	display: inline;
	margin-right: 10px;
}

.menu_cospitech a {
	font-weight:normal;
	text-decoration: none;
	/*color: #4DC9F8;*/
	color: #7f7f7f; 
	background-color: #ffffff;
	border: 1px solid #ff5500;
	padding: 5px;
}

.menu_cospitech a:hover {
	font-weight:normal;
	text-decoration: none;
	color: #ffffff;
	/*background-color: #4DC9F8;*/
	background-color: #7f7f7f; 
	border: 1px solid transparent;
}

/***********************************************/
/* TABLAS EN FORMULARIOS COSPITECH class taula */
/***********************************************/
.div_taula {
	width: 100%;
	height: 85%;
}

.taula {
	/* margin: auto; //ho centra */
	font-family: helvetica, arial;
	/*margin-left: 20px;*/
	/*margin-right: 20px;*/
	/*width: 95%; */ /* força amplada */
	width:100%;
}

.taula	table {
	/*width: 600px;*/
	margin-bottom: 10px;
}

.taula	td {
	border-right: 1px solid #aaaaaa;
	border-bottom: 1px solid white;
	padding: 4px;
	
}

.taula div {
	overflow:hidden;
	white-space:nowrap;
}

.taula	td:first-child {
	border-left: 1px solid #aaaaaa;
}

.taula	th {
	text-align: left;
	/*padding: 5px;*/
	background: #cac9c9;
	border-bottom: 1px solid white;
	border-right: 1px solid #aaaaaa;
}

.taula tr:hover {
	/*background-color: #0080c0;*/
	/*background-color: #4DC9F8;*/
	background-color: #7f7f7f;
}

/*******************************************************/
/* LINKS DE FLASH MESSAGE, MENSAJES DE ERROR O EXITO   */
/*******************************************************/ 
.message, .error {
    border:1px solid #CCCCCC;
    width:97%;
    background:#ffc;
    padding:5px;
    color: #333333;
    
	/*margin-left: 5px;*/
	margin-left: 15px;
	margin-top: 5px;
	margin-bottom: 5px;
	
	position: absolute;
	/*bottom: 25px;*/
	bottom: 5px;
	z-index: 99;
}


/*******************************************************/
/* LINKS DE FLASH MESSAGE, PELS MISSATGES ERROR O EXIT */
/*******************************************************/ 
/*
.message, .error {
    border:1px solid #CCCCCC;
    width:93%;
    background:#ffc;
    padding:5px;
    color: #333333;
    
	margin-left: 3.5%;
	margin-top: 5px;
	margin-bottom: 5px;
}
*/

/****************************/
/* ARREGLAR ESTIL CARBOGRID */
/****************************/
/*
.cg-toolbar a:hover, .cg-dialog input:hover, .cg-dialog a:hover  {
	text-decoration: none;
	color: #4DC9F8; 
	border: 1px solid #ff5500;
	background-color: #ffffff;
}
*/

/**********************/
/* COMBO GROCERY CRUD */
/**********************/
.combo {
	width: 300px;
	font-size: 13px;
	padding: 0px !important;	
}

/**************************/
/* MISSATGES GROCERY CRUD */
/**************************/
/* DESHABILITO */
.report-div {
	display: none !important;
}

/***************/
/* jstree node */
/***************/
.jstree-ninot {
	/*display: block !important;*/
	/*width: 24px !important;*/
	/*height: 24px !important;*/
	background: center url(../images/Male.png) no-repeat  !important;	
}

.ninot_vermell {
	color: red;
}

/**********************/
/* FORMULARI REGISTRE */
/**********************/

.registre {
	margin-top: 50px;
}

.bold {
	font-weight: bold;
}

/*********************/
/* FORMULARI NEGOCIS */
/*********************/
.negocios h1 {
	text-align: center !important;	
	font-size:16px !important;
	background-color: #0A326E;
	color: white;
	border: 2px solid white;
	padding-left: 3px;
	margin-top:3px;	
}

.negocios a {
	margin-top: 5px;
	margin-right: 5px;
}


.marco { 
   padding:5px; 
   background-color: #f5f5f5; 
   border: 1px solid #999999; 
   width:100%;
   
   position: relative;
   left: 0px;
   top: 0px;
   z-index: 1;
} 

.img-estat {
   position: relative;
   left: 0px;
   top: 0px;
   z-index: 2;
}

.botonera {
	height: 70px;
}

/***********/
/* emailer */
/***********/

.emailer {
	display: inline-block;
}

/* botons */
.marge_esq input {
	margin-left: 10px;
	width:150px;
}

.emailer label {
	width: 200px;
	padding-top: 7px;
	padding-bottom: 7px;
	margin-left: 10px;
}

.emailer textarea {
	vertical-align: top;
	margin-bottom: 10px;
}

.emailer input[type="text"] {
	width: 460px;
}

.adjunto input {
	/*
	position: relative;
	top: -40px;
	left: 0px;
	*/
}

.esquerra {
	float: left;
}

.dreta {
	float: right;
}

/********************/
/* BOTONES ADJUNTOS */
/********************/
.fileUpload {
	position: relative;
	overflow: hidden;
	/*
	margin: 10px;
	*/
	margin-right: 10px;
}

.fileUpload input.upload {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	padding: 0;
	/*font-size: 20px;*/
	font-size: 14px;
	cursor: pointer;
	opacity: 0;
	filter: alpha(opacity=0);
}

.invisible {
	display: none;
}

.mceEditorContainer {
	float: right;
}

#mensaje {
	height: 60px;
}

/********/
/* LOPD */
/********/
.lopd label {
	font-size:8px !important;
}

.lopd  {
	position: absolute;
	bottom: 5px;
	z-index: 98;
}

