body {
  	min-height: 500px;
  	/*padding-top: 70px;*/
	padding-bottom: 20px;
	position:relative;
}

.navbar-brand img {
	margin-top: -15px;
	margin-left: 5px;
}

.jumbotron p {
    font-size: 18px;
    margin-bottom: 15px;
}

.scrollToTop {
    background: #f9f9f9 none repeat scroll 0 0;
    border-radius: 50%;
    bottom: 60px;
    display: none;
    font-size: 25px;
    height: 55px;
    line-height: 50px;
    position: fixed;
    right: 50px;
    text-align: center;
    text-decoration: none;
    transition: all 0.5s ease 0s;
    width: 55px;
    z-index: 999;
}
.scrollToTop:hover, .scrollToTop:focus {
    color: #fff;
    outline: medium none;
    text-decoration: none;
}

.scrollToTop {
    color: #337ab7;
}

.scrollToTop:hover, .scrollToTop:focus {
    background-color: #337ab7;
}

/* Canviar el treshold del menu collapse */ 

@media (max-width: 1000px) {
  .navbar-header {
      float: none;
  }
  .navbar-left,.navbar-right {
      float: none !important;
  }
  .navbar-toggle {
      display: block;
  }
  .navbar-collapse {
      border-top: 1px solid transparent;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .navbar-fixed-top {
      top: 0;
      border-width: 0 0 1px;
  }
  .navbar-collapse.collapse {
      display: none!important;
  }
  .navbar-nav {
      float: none!important;
      margin-top: 7.5px;
  }
  .navbar-nav>li {
      float: none;
  }
  .navbar-nav>li>a {
      padding-top: 10px;
      padding-bottom: 10px;
  }
  .collapse.in{
      display:block !important;
  }
}


/* Caixa debug */ 
#debug {
		position:absolute;
		top: -999px;
}

@media (min-width: 100px) { 
	#debug {
		position:fixed;
		width: 150px;
		top: 70px;
		left: 2px;
		background-color:#FFFF99;
		padding: 10px;
		font-size:11px;
		opacity: 0.6;
	}
}

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

#mapwrap {
	position:relative;
}

#map-canvas {
	width: 100%;
	height: 300px;
	border: 2px solid #ccc;
}

#map-canvas-big {
	width: 100%;
	height: 500px;
	margin-bottom: 15px;
	border: 2px solid #ccc;
}

div#carregant {
    background-color: #333;
    opacity: 0.55;
    padding: 2em;
    text-align: center;
    position: absolute;
	height: 100%;
    width: 100%;
    z-index: 100;	
}

div#carregant b {
	color:#FFF;
	font-size: 20px;
    z-index: 200;	
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
	margin: auto;
    z-index: 200;	
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* CARREGANT TAULA */

.wrapper {
	position: relative;
}

.wrapper.loading table {
	visibility:hidden;
}

.loading:before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 100;
	background: rgba(0,0,0,0.45) center 100px no-repeat url('data:image/gif;base64,R0lGODlhFAAUAKEAAO7u7lpaWgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCgACACwAAAAAFAAUAAACQZRvoIDtu1wLQUAlqKTVxqwhXIiBnDg6Y4eyx4lKW5XK7wrLeK3vbq8J2W4T4e1nMhpWrZCTt3xKZ8kgsggdJmUFACH5BAEKAAIALAcAAAALAAcAAAIUVB6ii7jajgCAuUmtovxtXnmdUAAAIfkEAQoAAgAsDQACAAcACwAAAhRUIpmHy/3gUVQAQO9NetuugCFWAAAh+QQBCgACACwNAAcABwALAAACE5QVcZjKbVo6ck2AF95m5/6BSwEAIfkEAQoAAgAsBwANAAsABwAAAhOUH3kr6QaAcSrGWe1VQl+mMUIBACH5BAEKAAIALAIADQALAAcAAAIUlICmh7ncTAgqijkruDiv7n2YUAAAIfkEAQoAAgAsAAAHAAcACwAAAhQUIGmHyedehIoqFXLKfPOAaZdWAAAh+QQFCgACACwAAAIABwALAAACFJQFcJiXb15zLYRl7cla8OtlGGgUADs=');
}

.gm-style .Finestra {
	overflow: hidden;
	font-family:Arial, Helvetica, sans-serif;
	color: #000000;
	/*height: 120px;*/
	position: relative;
	text-align:left;
}

.gm-style h1 {
    color: #337ab7;
    font-family: 'Signika',Arial,Helvetica,sans-serif;
    font-size: 16px;
	font-weight: normal
}

.btn-primary {
	/*margin-bottom: 10px;*/
}

footer {
	text-align: center;
}

.marca {
	/*box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);*/	
	text-align:center;
	border-radius:4px;
	border: #DDD solid 1px;
	display: block;
	width: 90%;
	font-size: 88%;
}

.ombra {
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

.marca:hover {
	border-color: #666;
}

.marca_span {
	/*box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);*/	
	text-align:center;
	border-radius:4px;
	border: #DDD solid 1px;
	width: 90%;
	font-size: 88%;
	padding: 2px 8px;
}
 
.nobs {
	font-size: 80%;
	color: #999999;
}

.icon_nav {
	float:right;
	margin-left: 10px;
	margin-top: 2px;
	font-size: 80%;
}

.vis_taula,
.vis_mapa {
	float:right;
	margin-left: 10px;
	font-size:80%;
}

.opt_fitxa {
	position: absolute;
	right: 0;
	bottom: 0;
	font-size:60%;
}

.detalls-fitxa {
    background: #eee none repeat scroll 0 0;
    border-color: #ddd;
    border-style: solid;
    border-width: 1px;
	color: #888;
	font-size: 85%;
	padding: 10px;
 	margin-right: 15px;
	margin-bottom: 5px;
	/*box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);*/
}

.detalls-fitxa th {
	/*text-transform: uppercase;*/
	color:#666;
}

.infoculta {
	color:#999999;
	font-size: 11px;
	font-family:"Courier New", Courier, monospace;
	position: absolute;
	top: 0;
	left: 101%;
	width: 300px;
}

.ocult {
	display: none;
}

.titol_taula {
	text-transform:uppercase;
	letter-spacing: 2px; 
	color:#999999;
}

.table.detallobs th,
.table.detallobs td {
	padding: 7px;
}

#mapwrap {
	width: 100%;
	position: relative;
	/*height: 450px;*/
	/*background: #EEE url(../img/ajax-loader.gif) no-repeat center center;*/
}

#map-canvas {
  width: 100%;
  height: 450px;
  margin-bottom: 15px;
  border: 2px solid #ccc;
  position: relative;
  visibility: visible;
}

#info_coord {
	text-align: center;
	background-color: #CFE7DA;
	padding: 5px 5px 20px 5px;
	border: 1px solid #0066CC;
	color: #0033FF;
	font-size:14px;
}

#info_coord p {
	font-size:18px;
}

#info_coord a {
	font-size:16px;
}

#geo_fail,
#geo_no,
#busca_disp,
#busca_latlng,
#busca_etrs89,
#busca_ed1950,
#geolocation_info {
	display: none;
}

.caixa_amplia {
	width: 150px;
	height: 50px;
	display: block;
}

#inscription, #inscription_old {
	text-align: center;
	font-weight: bold;
	font-size: 110%;
}

li.pdf { 
	list-style: url(../icons/icon_pdf.gif);
	/*
	  background: url(../icons/icon_pdf.gif) no-repeat left top;
	  padding: 3px 0px 3px 20px;
	  list-style: none;
	  margin: 0;	
	*/
}

li.pdf a:hover { text-decoration:none; }

.label-anellament {
    background-color: #0F0;
    opacity: 0.7;	
}

.label-observacio { opacity: 0.7; background-color: #00F; }

.navbar-inverse .navbar-nav li a i.usertype0 { color:#CCC; }
.navbar-inverse .navbar-nav li a i.usertype1 { color:#CCC; }
.navbar-inverse .navbar-nav li a i.usertype2 { color:#06F; }
.navbar-inverse .navbar-nav li a i.usertype3 { color:#C00; }
.navbar-inverse .navbar-nav li a i.usertype4 { color:#FF00FF; }

table.tablesorter tbody td a.usertype0 { color: #CCC; }
table.tablesorter tbody td a.usertype1 { color: #CCC; }
table.tablesorter tbody td a.usertype2 { color: #06F; }
table.tablesorter tbody td a.usertype3 { color: #C00; }
table.tablesorter tbody td a.usertype4 { color: #FF00FF; }

span.label.usertype0 { background-color: #CCC; }
span.label.usertype1 { background-color: #CCC; }
span.label.usertype2 { background-color: #06F; }
span.label.usertype3 { background-color: #C00; }
span.label.usertype4 { background-color: #FF00FF; }

.copyright {
	font-size: 90%;
	color:#999999;
}

.single-wc-content span {
    border-radius: 100%;
    display: inline-block;
    font-size: 35px;
    height: 117px;
    line-height: 117px;
    text-align: center;
    width: 117px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.single-wc-content span {
    border: 1px solid #0E964A;
    color: #0E964A;
}

.page-header {
    margin-top: 20px;
}

.nav-tabs > li { margin-bottom: -2px; }
.nav-tabs > li.active > a {	border-bottom: 1px solid #fff; }

.abstract { min-height: 150px; }

.social-networks{
	text-align: center;
}

.social-networks a{
	font-size: 35px;
	margin-right: 5px;
	margin-left: 5px;
	color: #337ab7;
	padding: 2px;
	transition: 0.2s;
}

.social-networks a:hover{ text-decoration: none; }
.facebook:hover{ color:#29487d;	}
.twitter:hover{ color: #00aced;	}

.rotat {
	-webkit-transform:rotate(90deg);
	-moz-transform:rotate(90deg);
	-o-transform:rotate(90deg);
	rotate(90deg);
}

.inactiu {
	color: #CCCCCC;
}

/* https://www.sitepoint.com/maintain-image-aspect-ratios-responsive-web-design/ */

a.resizeimg {
	display: block;
	width: 100%;
	position: relative;
	height: 0;
	padding: 56.25% 0 0 0;
	overflow: hidden;
	background-color: #333;
	/*background-image: url("https://res-ratpenats.s3-v2.csuc.cat/media/bats_media/image_placeholder.png");*/
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}

a.resizeimg img	{
	position: absolute;
	display: block;
	max-width: 100%;
	max-height: 100%;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
}

#menu_gestio li a {
	padding: 10px 12px;
}

.estat_ span {
	padding: 4px;
}

.video-responsive {
	max-width: 560px;
	max-height: 315px;
	position: relative !important;
	padding-bottom: 56.25%; /* 16/9 ratio */
	padding-top: 30px; /* IE6 workaround*/
	height: 0;
	overflow: hidden;
}

.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	/*height: 100%;*/
}

.embed-responsive.embed-responsive-16by9 {
	height: 315px;
	padding-bottom: 0;
	margin-bottom: 10px;
}

/* ICONA BATS */

a.navbar-brand {
	/*padding: 5px 0 5px 20px;*/
	padding-left: 25px;
	margin-left: 5px;
	/*background: transparent url(../img/logo_gris.png) no-repeat center left;*/
	background: transparent url(../img/logo_bats.png) no-repeat 0 -55px;
}

a.navbar-brand:hover { 
	/*background: url(../img/logo_vermell.png) no-repeat center left;*/
	background: url(../img/logo_bats.png) no-repeat 0 15px;	
}

/*.navbar-inverse .navbar-brand { color:#FF0000; }*/

.navbar-inverse:hover .navbar-brand:hover { color:#FFF; }


.link_protocol span {
    border: 1px solid #286090;
    color: #286090;
}
a.link_protocol:hover .wc-icon {
    color: #FFF;
    background-color: #286090;
}
.link_protocol span.wc-icon.quadrat {
    border-radius: 10%;
    height: 75px;
    line-height: 75px;
    width: 75px;
}
.link_protocol span.wc-icon {
    border-radius: 100%;
    display: inline-block;
    font-size: 35px;
    height: 117px;
    line-height: 117px;
    text-align: center;
    width: 117px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.media-body h4 { margin-top: 0; }

/* CAROUSSEL */

.carousel-control.left,
.carousel-control.right {
	background-image: none;
}

.btn-primary.disabled, .btn-primary.disabled.active, .btn-primary.disabled.focus, .btn-primary.disabled:active, .btn-primary.disabled:focus, .btn-primary.disabled:hover, .btn-primary[disabled], .btn-primary.active[disabled], .btn-primary.focus[disabled], .btn-primary[disabled]:active, .btn-primary[disabled]:focus, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary, fieldset[disabled] .btn-primary.active, fieldset[disabled] .btn-primary.focus, fieldset[disabled] .btn-primary:active, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:hover {
    background-color: #C5B170;
    border-color: #B99F71;
}

.carousel-caption h3 {
	color: #FFF;
}

/* COLORS 

h2 {
	position: relative;
	margin-bottom: 20px;
	color: #337ab7;
}

h3 {
	color: #9d9d9d;
    font-weight: bold;
    font-size: 22px;
}


*/

h2 {
	position: relative;
	margin-bottom: 20px;
	color: #337ab7;
	font-weight: bold;
	letter-spacing:normal;
}

h3 {
	color: #999999;
	font-weight: bold;
	font-size: 22px;
}

h4 {
	color: #666666;
	font-weight: bold;
	font-size: 20px;
}


.select-css {
	/*
	display: block;
	float: right;
	width: 40%;
	max-width: 40%; 
	*/
	font-size: 14px;
	font-family: 'body-font', Helvetica, Arial;
	font-weight: 700;
	color: #7C92A2;
	line-height: 1.3;
	padding: .6em 1.4em .5em .8em;
	box-sizing: border-box;
	margin: -9px 0;
	border: 1px solid #aaa;
	box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
	border-radius: .5em;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
	  linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
	background-size: .65em auto, 100%;
}
.select-css::-ms-expand {
	display: none;
}
.select-css:hover {
	border-color: #888;
}
.select-css:focus {
	border-color: #aaa;
	box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
	box-shadow: 0 0 0 3px -moz-mac-focusring;
	color: #7C92A2; 
	outline: none;
}
.select-css option {
	font-weight:normal;
}

.explicacio {
	font-size: 90%;
	color:#999999;
}

span.label.iucn-NA { background-color: #E5E5E5; color:#000; font-weight: normal; }	
span.label.iucn-DD { background-color: #C3C3C3; color:#000; font-weight: normal; }	
span.label.iucn-LC { background-color: #51BC1D; color:#000; font-weight: normal; }	
span.label.iucn-NT { background-color: #97C115; color:#000; font-weight: normal; }	
span.label.iucn-VU { background-color: #FFC90E; color:#000; font-weight: normal; }	
span.label.iucn-EN { background-color: #F28533; color:#000; font-weight: normal; }	
span.label.iucn-CR { background-color: #C52412; color:#000; font-weight: normal; }	
span.label.iucn-RE { background-color: #85618D; color:#fff; font-weight: normal; }	

span.label.label-indicis { background-color: #cc0; }

.debug { font-family:"Courier New", Courier, monospace; color:#666666; font-size: 12px; margin-top: 12px; }

#comentaris, #comentaris_validacio {
    width: 100%;
    border: 1px solid #CCC;
    padding: 2px 4px;
    font-family: "Courier New", Courier, monospace;
    color: #666666;
}