body {
	margin: 0;
	padding: 0;
	background-color: #eee;
	font-family: 'Roboto', sans-serif;
}

#content {
	overflow: hidden;
}

/*  NO CONECTAT */
#caixa {
	width: 400px;
	background-color: #fff;
	margin: 0 auto;
	height: auto;
	box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	margin-top: 18vh;
	margin-bottom: 1vh;
	padding: 10px 20px;
	overflow: hidden;
}

.titol_form {
	font-size: 1.1em;
	color: #333;
}

.input_form {
	width:  395px;
	height: 1.5em;
	margin-top: 5px;
	margin-bottom: 10px;
}

#submit_form {
	-moz-box-shadow:inset 0px 1px 0px 0px #9acc85;
	-webkit-box-shadow:inset 0px 1px 0px 0px #9acc85;
	box-shadow:inset 0px 1px 0px 0px #9acc85;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #74ad5a), color-stop(1, #68a54b));
	background:-moz-linear-gradient(top, #74ad5a 5%, #68a54b 100%);
	background:-webkit-linear-gradient(top, #74ad5a 5%, #68a54b 100%);
	background:-o-linear-gradient(top, #74ad5a 5%, #68a54b 100%);
	background:-ms-linear-gradient(top, #74ad5a 5%, #68a54b 100%);
	background:linear-gradient(to bottom, #74ad5a 5%, #68a54b 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#74ad5a', endColorstr='#68a54b',GradientType=0);
	background-color:#74ad5a;
	border:1px solid #3b6e22;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:13px;
	font-weight:bold;
	padding:6px 12px;
	text-decoration:none;
	float: right;
}
#submit_form:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #68a54b), color-stop(1, #74ad5a));
	background:-moz-linear-gradient(top, #68a54b 5%, #74ad5a 100%);
	background:-webkit-linear-gradient(top, #68a54b 5%, #74ad5a 100%);
	background:-o-linear-gradient(top, #68a54b 5%, #74ad5a 100%);
	background:-ms-linear-gradient(top, #68a54b 5%, #74ad5a 100%);
	background:linear-gradient(to bottom, #68a54b 5%, #74ad5a 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#68a54b', endColorstr='#74ad5a',GradientType=0);
	background-color:#68a54b;
}
#submit_form:active {
	position:relative;
	top:1px;
}
/* fi NO CONECTAT */
#barraTop {
	overflow: hidden;
	width: 96%;
	padding: 0px 2%;
	background-color: #f9f9f9;
	box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	height: 52px;
}

#logo {
	float: left;
	overflow: hidden;
	cursor: pointer;
	padding-top: 2.5px;
}

#logo_imatge {
	float: left;
}

#logo_text {
	margin-left: 12px;
	float: left;
	color: #8E8E8E;
	font-weight: bold;
	padding-top: 11px;
	font-size: 1.2em;
}

#usuari {
	float: right;
	margin-top: 17px;
}

#usuari a {
	color: #8E8E8E;
	text-decoration: none;
}

#usuari :hover {
	text-decoration: underline;
}

#breadcrumb {
	float: left;
	margin-left: 10px;
	color: #777;
	padding-top: 16.5px;
}

/*--- FI HEADER ---*/

#contingut { 
	width: 100%;
	margin: 0 auto;
	height: auto;
	overflow: hidden;
}

#barraLateral {
	width: 125px;
	background-color: #2C3F51;
	height: 100px;
	float: left;
}

#barraLateral ul {
	margin: 0;
	padding: 0;
	padding-top: 20px;
}

#barraLateral ul li {
	color: #87919B;
	list-style: none;
	cursor: pointer;
	margin-bottom: 10px;
	padding: 10px 0px;
}

#active {
	background-color: #31C076;
	list-style: none;
	cursor: pointer;
	margin-bottom: 10px;
	padding: 10px 0px;
}

.bl_imatge {
	width: 40px;
	margin: 0 auto;
}

.bl_text {
	margin-top: 6px;
	width: 100%;
	text-align: center;
}

#main {
	margin-top: 15px;
	margin-left: 20px;
	float: left;
	overflow: auto;
}

.titol_main {
	color: #333;
	font-size: 1.3em;
}

.contingut_main {
	width: 96%;
	margin-top: 5px;
	overflow: hidden;
	padding: 5px 2%;
}

.caixa_config {
	width: 275px;
	height: auto;
	border: 1px solid #ccc;
	background-color: #f8f8f8;
	color: #333;
	margin-bottom: 20px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	margin-right: 10px;
	display: inline-table;
}

.caixa_config_header {
	padding: 8px 7px;
	border-bottom: 1px solid #ccc;
	background-color: #f2f2f2;
}

.caixa_config_main {
	padding: 5px 15px;
}

.boto_mm {
	color: #2A5DB0;
	cursor: pointer;
}

.boto_mm:hover {
	text-decoration: underline;
}

.ocult {
	display: none;
}

.caixa_config_main input[type="text"] {
	width: 245px;
	margin-top: 2px;
	margin-bottom: 5px;
}

.boto_config {
	-moz-box-shadow: 0px 1px 0px 0px #fff6af;
	-webkit-box-shadow: 0px 1px 0px 0px #fff6af;
	box-shadow: 0px 1px 0px 0px #fff6af;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffec64), color-stop(1, #ffab23));
	background:-moz-linear-gradient(top, #ffec64 5%, #ffab23 100%);
	background:-webkit-linear-gradient(top, #ffec64 5%, #ffab23 100%);
	background:-o-linear-gradient(top, #ffec64 5%, #ffab23 100%);
	background:-ms-linear-gradient(top, #ffec64 5%, #ffab23 100%);
	background:linear-gradient(to bottom, #ffec64 5%, #ffab23 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffec64', endColorstr='#ffab23',GradientType=0);
	background-color:#ffec64;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #ffaa22;
	display:inline-block;
	cursor:pointer;
	color:#333333;
	font-family:Arial;
	font-size:12px;
	font-weight:bold;
	padding:4px 10px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffee66;
	float: right;
	margin-bottom: 4px;
}
.boto_config:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffab23), color-stop(1, #ffec64));
	background:-moz-linear-gradient(top, #ffab23 5%, #ffec64 100%);
	background:-webkit-linear-gradient(top, #ffab23 5%, #ffec64 100%);
	background:-o-linear-gradient(top, #ffab23 5%, #ffec64 100%);
	background:-ms-linear-gradient(top, #ffab23 5%, #ffec64 100%);
	background:linear-gradient(to bottom, #ffab23 5%, #ffec64 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffab23', endColorstr='#ffec64',GradientType=0);
	background-color:#ffab23;
}
.boto_config:active {
	position:relative;
	top: 1px;
}

.carregant {
	text-align: center;
}

#taula_bd_afegir {
	width: auto;
	margin: 0 auto;
	background-color: #f9f9f9;
	padding: 10px 20px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	border-spacing:  7px;
}

#taula_bd_afegir th {
	text-align: left;
}

#base_dades {
	margin-top: 50px;
	width: 100%;
	border-collapse: collapse;
}

#base_dades th {
	background-color: #000;
	color: #eee;
	font-weight: bolder;
	border: 1px solid #000;
}

#base_dades td {
	border: 1px solid #777;
	padding: 5px 2px;
	height: 1em;
}

#base_dades th {
	width: 100px;
	padding: 6px 0px;
}

.fixed_td {
	width: 20px;
	position: relative;
	overflow:hidden;
    white-space:nowrap;
    text-overflow: ellipsis;
    text-align: center;
}

.imatge_edit {
	cursor: pointer;
}

.db_parell {background-color: #f8f8f8;}
.db_imparell {background-color: #f2f2f2;}

.puntsSuspensiusTD {
	max-width: 232px;
	position: relative;
	overflow:hidden;
    white-space:nowrap;
    text-overflow: ellipsis;
}

.buscador {
	padding: 10px 20px;
	float: left;
	background-color: #fff;
	margin-bottom: 10px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}