p {
	margin:0px;
}

a:hover,
a:active {
	outline:0
}
a {
	color:#7f1730;
	text-decoration:none
}
a:hover {
	color:#7f1730;
	text-decoration:underline
}

img {
	max-width:100%;
	vertical-align:middle;
	border:0;
	-ms-interpolation-mode:bicubic
}

body{
	background-color: #fff;
    color: #333333;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 13px;
    line-height: 18px;
    margin: 0px;
   /*
    padding-top: 60px;
    background-image:url('images/gradient.jpg');
    background-repeat: repeat-y;
    background-position:center;
    -webkit-background-size: cover 10px;
	-moz-background-size: cover 10px;
	-o-background-size: cover 10px;
	background-size: cover 10px;
    */
}
/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;   
}
.modal {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 ) 
                url('images/loading.gif') 
                50% 50% 
                no-repeat;
}
/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modal {
    display: block;
}
.loading{
	background:url('images/loading.gif') no-repeat center center;
}



h1,h2,h3,h4,h5,h6 {
	margin:0;
	font-family:inherit;
	font-weight:bold;
	color:inherit;
	text-rendering:optimizelegibility;
}

h1 {
	font-size:30px;
	line-height:36px;
}


form {
	margin:0 0 0px;
}

label,input,button,select,textarea {
	font-size:13px;
	font-weight:normal;
	line-height:18px;
}

input,button,select,textarea {
	font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
}

input,textarea,select,.uneditable-input {
	display:inline-block;
	width:210px;
	height:18px;
	padding:4px;
	margin-bottom:9px;
	font-size:13px;
	line-height:18px;
	color:#555;
	background-color:#fff;
	border:1px solid #ccc;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
}

input,textarea {
	-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);
	-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);
	box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);
	-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;
	-moz-transition:border linear 0.2s,box-shadow linear 0.2s;
	-ms-transition:border linear 0.2s,box-shadow linear 0.2s;
	-o-transition:border linear 0.2s,box-shadow linear 0.2s;
	transition:border linear 0.2s,box-shadow linear 0.2s;
}
input:focus,textarea:focus{
	border-color:rgba(82,168,236,0.8);
	outline:0;
	outline:thin dotted \9;
	-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6);
	-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6);
	box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6)
}
input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus,select:focus {
	outline:thin dotted #333;
	outline:5px auto -webkit-focus-ring-color;
	outline-offset:-2px;
	-webkit-box-shadow:none;
	-moz-box-shadow:none;
	box-shadow:none
}
.input-small {
	width:90px
}
input,textarea,.uneditable-input {
	margin-left:0
}

button,input[type="button"],input[type="reset"],input[type="submit"] {
	cursor:pointer;
	-webkit-appearance:button;
	width:auto;
	height:auto;
}

fieldset {
    border: 0 none;
    margin: 0;
    padding: 0;
}

.pointer{
	cursor:pointer;
}

/**
 * 	HEADER
 */
#body-wrapper{
	width:100%;
	height:100%;
    /*position:absolute; */
    /*background: url('images/gradient-top.jpg') repeat-x top left;*/
}
#header{
	background-color: transparent;
	width: 95%;
	padding: 40px 10px 10px;
	color: #AFAFAF;
	margin: 0px auto;
}
#header .logo{
	height:80px;
	vertical-align:bottom;
}
#header .title-logo{
	font-size:20px;
	text-align:right;
}
#header .title,
#header .title:hover{
	font-size: 40px;
	float: left;
	text-align: left;
	margin: 0px 0px 0px 0px;
	text-decoration:none;
	color:#a03650;
}


.label,.badge {
	font-size:10.998px;
	font-weight:bold;
	line-height:14px;
	color:#fff;
	vertical-align:baseline;
	white-space:nowrap;
	text-shadow:0 -1px 0 rgba(0,0,0,0.25);
	background-color:#999
}
.label {
	padding:1px 4px 2px;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px
}
a.label:hover, a.badge:hover {
	color:#fff;
	text-decoration:none;
	cursor:pointer;
}
.label-important,.badge-important {
	background-color:#a03650;
}

/**
 * FOOTER
 */
#peu{
	position: relative;
	z-index: -10;
	bottom: 0px;
	/*height: 180px;*/
	width: 100%;
	padding: 0px;
	color: white;
	margin: -120px auto 0px auto;
	display: block;
	background: url('images/gradient-bottom.jpg') repeat-x bottom left;
}
#peu_container{
	width: 98%;
	position: absolute;
	bottom: 0px;
	padding: 10px;
}
#peu_container .logo{
	height:40px;
	vertical-align:bottom;
}
#peu_container .title-logo{
	font-size:16px;
}
#peu_container .title{
	font-size: 20px;
	float: right;
	text-align: right;
	margin: 20px 15px 0px 0px;
}


/**
 * 	BODY
 */
.container-fluid {
	padding: 20px;
	margin: 0px auto 0px auto;
	background-color: white;
	width: 90%;
}
.row-fluid {
	width:100%;
	height:100%;
}
.row-fluid:before,.row-fluid:after {
	display:table;
	content:"";
}
.row-fluid:after {
	clear:both
}

.row-fluid .span3 {
	width:15%;
}
.row-fluid .span9 {
	width:80%;
	height:100%;
}

.loading {
	background:url("images/loading.gif") no-repeat center center;
}

.row-fluid [class*="span"]:first-child {
    margin-left: 0;
}

.row-fluid [class*="span"] {
	display:block;
/*	width:100%; */
	min-height:28px;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-ms-box-sizing:border-box;
	box-sizing:border-box;
	float:left;
	margin-left:2.128%;
}


.page-header {
	padding-bottom:17px;
	margin:10px 0px 0px 0px;
	/*border-bottom:1px solid #eee;*/
}
.page-header h1 {
	line-height:1;
	color: #333333;
}

.content {
	/*background-color: #ffffff;*/
	height:100%;
}

#formlogin{
	margin:50px auto 0px auto;
	height:200px;
	/*background:url("../img/logo_fcc_1024.png") no-repeat 20%; */
}
#formlogin input{
	font-size:1.5em;
}

/**
 * 	MENU
 */
.sidebar-nav {
	padding:9px 0;
}
.well {
	min-height:20px;
	/* padding:19px; */
	margin-bottom:20px;
	background-color:#F3DDE3;
	/*border:1px solid #d37c91;*/
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
}

ul,ol {
	padding:0;
	margin:0 0 9px 25px;
}
ul {
	list-style:disc;
}
li {
	line-height:18px;
}

.nav-list {
	padding-left:15px;
	padding-right:15px;
	margin-bottom:0;
}
.nav-list>li>a,.nav-list .nav-header {
	margin-left:-15px;
	margin-right:-15px;
	text-shadow:0 1px 0 rgba(255,255,255,0.5);
}
.nav-list>li>a {
	padding:3px 15px;
}
.nav-list>.active>a,.nav-list>.active>a:hover {
	text-shadow:0 -1px 0 rgba(0,0,0,0.2);
	background-color:#08c;
}

.nav {
	margin-left:0;
	margin-bottom:18px;
	list-style:none;
}
.nav>li>a {
	display:block
}
.nav>li>a:hover {
	text-decoration:none;
	background-color:#933F53;
	color:#F3DDE3;
}

.nav .nav-header {
	display:block;
	padding:3px 15px;
	font-size:11px;
	font-weight:bold;
	line-height:18px;
	color:#999;
	text-shadow:0 1px 0 rgba(255,255,255,0.5);
	text-transform:uppercase;
}

.nav .nav-selected{
	font-weight: bold;
}

.nav-tabs,.nav-pills {
	*zoom:1
}
.nav-tabs:before,.nav-tabs:after,.nav-pills:before,.nav-pills:after {
	display:table;
	content:"";
}
.nav-tabs:after,.nav-pills:after {
	clear:both;
}
.nav-tabs>li,.nav-pills>li {
	float:left;
}
.nav-tabs>li>a,.nav-pills>li>a {
	padding-right:12px;
	padding-left:12px;
	margin-right:2px;
	line-height:14px;
}
.nav-tabs {
	border-bottom:1px solid #ddd;
	margin:0px;
}
.nav-tabs>li {
	margin-bottom:-1px;
}
.nav-tabs>li>a {
	padding-top:8px;
	padding-bottom:8px;
	line-height:18px;
	border:1px solid transparent;
	-webkit-border-radius:4px 4px 0 0;
	-moz-border-radius:4px 4px 0 0;
	border-radius:4px 4px 0 0;
	background-color:#933F53;
}
.nav-tabs>li>a:hover {
	/*border-color:#eee #eee #ddd;*/
}
.nav-tabs>.active>a, .nav-tabs>.active>a:hover {
	color:#555;
	background-color:#fff;
	border:1px solid #ddd;
	border-bottom-color:transparent;
	cursor:default;
}
.nav.nav-tabs li.icon a {
	color:#fff;
}

div.user_logo {
	width:90%;
	margin: 0px auto 15px auto;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
	border: 1px solid #eee;
	padding:3px;
	background-color:#fff;
}
.user_logo img {
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
	width:100%;
}

.table-container{
	height: 100%;
	overflow-y:auto;
	/*background: url(images/bg_table-container.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	*/
	background-color:#f3dde3;
}

.table-container .no-results{
    background-color: #F5F5F5;
    border: 4px solid #933F53;
    border-radius: 4px 4px 4px 4px;
    color: #808080;
    font-size: 1.3em;
    margin: 20px auto;
    padding: 10px 0;
    text-align: center;
    width: 80%;
}

table
{max-width:100%;
background-color:transparent;
border-collapse:collapse;
border-spacing:0;
font-size:13px;
}
.table{
	width:100%;
	margin-bottom:18px;
	background-color:#fff;
	border:0px solid #fff;
}
.table th,.table td{
	padding:8px;
	line-height:18px;
	text-align:left;
	vertical-align:top;
	border-bottom:1px solid #933F53;
}
.table th {
	font-weight:bold;
	background-color: #933F53;
}
.table th.last {
	text-align:center;
}
.table thead th {
	vertical-align:bottom;
	color:#fff;
}
.table caption+thead tr:first-child th,
.table caption+thead tr:first-child td,
.table colgroup+thead tr:first-child th,
.table colgroup+thead tr:first-child td,
.table thead:first-child tr:first-child th,
.table thead:first-child tr:first-child td {
	border-top:0;
}

.table td {
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
	max-width:150px;
	vertical-align: middle;
}
.table td.last {
	text-align:center;
}
.table td.links {
	max-width:none;
}
.table td.links .inline {
	margin:0px;
}
.table td.links .inline li {
	display:inline-block;
}
.table .shrink {
	width:1px;
	white-space:nowrap;
}

.table img.thumbnail{
	height:25px;
}


.table-condensed th,
.table-condensed td {
	padding:4px 5px;
}


.table-striped tbody tr:nth-child(even) td,
.table-striped tbody tr:nth-child(even) th {
	background-color:#F3DDE3;
}

.table-striped tbody tr:nth-child(odd) td,
.table-striped tbody tr:nth-child(odd) th {
	background-color:#F3DDE3;
}
.table tbody tr:hover td,
.table tbody tr:hover th {
	background-color:#FFF0F5;
}



[class^="icon-"],
[class*=" icon-"]{
	display:inline-block;
	width:14px;
	height:14px;
	*margin-right:.3em;
	line-height:14px;
	vertical-align:text-top;
	background-image:url('images/glyphicons-halflings.png');
	background-position:14px 14px;
	background-repeat:no-repeat;
}
.icon-white {
	background-image:url('images/glyphicons-halflings-white.png') !important;
}

.icon-user
{background-position:-168px 0}

.icon-info-sign
{background-position:-120px -96px}

.icon-1-hand
{background-position:-96px -144px}

.icon-0-hand
{background-position:-120px -144px}

.icon-ticket
{background-position:-24px -48px}

.icon-th-list
{background-position:-264px 0}

.icon-child-list
{background-position:-264px -24}

.icon-remove
{background-position:-312px 0}

.icon-signal
{background-position:-408px 0}

.icon-book
{background-position:-48px -48px}

.icon-material
{background-position:-120px -96px}

.icon-pencil
{background-position:0 -72px}

.icon-plus
{background-position:-408px -96px}

.icon-trash
{background-position:-456px 0px}

.icon-0-eye
{background-position:-120px -120px}

.icon-1-eye
{background-position:-96px -120px}

.icon-change-position
{background-position:-216px -120px}

.icon-sort-asc
{background-position:-286px -119px}

.icon-sort-desc
{background-position:-311px -119px}

.icon-image
{background-position:-456px -48px}
.icon-image-center
{margin-left:10px;}


/**
 * 	FORMS
 */

.controls input{
	height: 28px;
}

.btn {
  background: #933f52;
  background-image: -webkit-linear-gradient(top, #933f52, #e8668b);
  background-image: -moz-linear-gradient(top, #933f52, #e8668b);
  background-image: -ms-linear-gradient(top, #933f52, #e8668b);
  background-image: -o-linear-gradient(top, #933f52, #e8668b);
  background-image: linear-gradient(to bottom, #933f52, #e8668b);
  -webkit-border-radius: 7;
  -moz-border-radius: 7;
  border-radius: 7px;
  font-family: Arial;
  color: #ffffff;
  font-size: 20px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}

.btn:hover {
  background: #933f52;
  background-image: -webkit-linear-gradient(top, #933f52, #933f52);
  background-image: -moz-linear-gradient(top, #933f52, #933f52);
  background-image: -ms-linear-gradient(top, #933f52, #933f52);
  background-image: -o-linear-gradient(top, #933f52, #933f52);
  background-image: linear-gradient(to bottom, #933f52, #933f52);
  text-decoration: none;
}

.control-group {
	margin-bottom:9px;
}

.control-group .controls input {
	height:18px;
}

.control-group .controls input[type=radio]{
	width:auto;
}

.control-group.error input:focus,
.control-group.error select:focus,
.control-group.error textarea:focus ,
.material_container_error input:focus,
.material_container_error select:focus,
.material_container_error textarea:focus {
	border-color:#953b39;
	-webkit-box-shadow:0 0 6px #d59392;
	-moz-box-shadow:0 0 6px #d59392;
	box-shadow:0 0 6px #d59392;
}

.message {
	padding: 5px;
	cursor:pointer;
}

.message.error,
.control-group.error > label, label.error,
.control-group.error .help-block,
.control-group.error .help-inline ,
.material_container.error .help-block,
.material_container.error .help-inline {
    color: #B94A48;
}

.message.error{
	border-color: #B94A48;
	-webkit-box-shadow:0 0 6px #B94A48;
	-moz-box-shadow:0 0 6px #B94A48;
	box-shadow:0 0 6px #B94A48;
}

.control-group.error input,
.control-group.error select,
.control-group.error textarea,
.material_container.error input,
.material_container.error select,
.material_container.error textarea {
    border-color: #B94A48;
    color: #B94A48;
}

.message.success,
.control-group.success > label,
.control-group.success .help-block,
.control-group.success .help-inline {
    color: #356635;
}
.message.success,
.control-group.success input:focus,
.control-group.success select:focus,
.control-group.success textarea:focus {
	border-color:#356635;
	-webkit-box-shadow:0 0 6px #7aba7b;
	-moz-box-shadow:0 0 6px #7aba7b;
	box-shadow:0 0 6px #7aba7b;
}


label.error, input[type="text"].error, input[type="password"].error, select.error{
	color:#B94A48 !important;
}

/****** DIALOG *****************/
.dialog_dades_container{
	height: 100%;
	width: 100%;
}

fieldset.dialog{
	border: 1px solid #e1e1e1;
}

fieldset.dialog div.group{
	display: block;
	padding: 10px 0px;
}

fieldset.dialog div.group::after {
	clear: both;
}

fieldset.dialog div.group label{
	width: 20%;
	padding-top: 3px;
	text-align: right;
	margin: 5px 0px;
	display:inline-table;
	vertical-align:middle;
}

fieldset.dialog div.group input,
fieldset.dialog div.group select,
fieldset.dialog div.group textarea{
	width: 75%;
	padding-top: 3px;
	margin: 5px 0px;
	font-size: 1em;
	color: gray;
	display:inline-table;
	vertical-align:middle;
}

fieldset.dialog div.group textarea {
	height: 65px;
}

fieldset.dialog div.group select {
	height: 1.8em;
}

fieldset.dialog div.group select[multiple] {
	height: 6em;
}

fieldset.dialog legend{
	font-weight:bold;
}
/*********************************/


.ui-datepicker {
	font-size: 0.85em !important;
}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
	height: auto !important;
}

div.importar_button{
	background: url("images/ico_usb.png") no-repeat center center;
	height:30px;
	width:40px;
	margin:0px 0px 0px 0px;
	float:right;
	cursor:pointer;
}

div.search_button{
	background: url("images/ico_search.png") no-repeat center center;
	height:30px;
	width:40px;
	margin:0px 0px 0px 0px;
	float:right;
	cursor:pointer;
}

div.xls_button{
	background: url("images/ico_xls.png") no-repeat center center;
	height:30px;
	width:40px;
	margin:0px 0px 0px 0px;
	float:right;
	cursor:pointer;
}

div.add_usuari_button{
	background: url("images/ico_user.png") no-repeat center center;
	height:30px;
	width:40px;
	margin:0px 0px 0px 0px;
	float:right;
	cursor:pointer;
}

div.add_generic_button{
	background: url("images/ico_add.png") no-repeat center center;
	height:30px;
	width:40px;
	margin:0px 0px 0px 0px;
	float:right;
	cursor:pointer;
}

/** HOME **/
div.home-content{
	position:relative;
	min-height:400px;
}

