@media (min-width:970px) and (max-width: 2500px) {
    .container {
     width:970px;
    }   
}

body{
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    background-color: #FFFFFF;
    font-size:13px;
    line-height:22px;
    color:#555555;
}

.navbar-inverse {
    background-color: #67a727;
    border: 0px solid transparent;
}

.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
    border: 0px solid transparent;
}

header {
    /*background-color: #222121;*/
    /*background-color: #1a171b;*/
    background-color: #67a727;
/*    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.3);
border-bottom: 1px solid #111111;*/
height: 130px;
}

.navbar-fixed-top {
    top: 0;
}

/*li{
list-style: none;
}*/

a {
    color: #444;
}

a:hover {
    color: #d06102;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

h1 {
    color: #005195;
    font-size: 38px;
    font-weight: 300;
    margin-top: 0px;
    margin-bottom: 20px;
}

h2 {
    color: #005195;
    font-size: 34px;
    font-weight: 300;
    margin-top: 0px;
    margin-bottom: 30px;
}

h3 {
    color: #005195;
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}

h4 {
    font-weight: normal;
}

.intro h1 {
    color: #005195;
    font-size: 34px;
    font-weight: 300;
}

.intro h2 {
    line-height: 34px;
}

.hero-unit {
    background-color: #EEEEEE;
    border-radius: 0px;
    font-size: 16px;
    line-height: 24px;
    margin: 30px 0px;
    padding: 30px;
}

.hero-unit h1 {
    font-size: 35px;
    margin-bottom: 10px;
}

.nav > li > a:hover {
    background-color: none !important;
    color: #000000;
}

.nav-list {
    margin-bottom: 0;
    padding-left: 1px;
    padding-right: 1px;
}

.nav-list li {
    margin-bottom: 10px;
}

.nav-header {
    padding: 3px 1px;
}

.navbar-toggle {
    background-color: #cfddc0;
    background-image: none;
    border: 0 none;
    border-radius: 0;
    float: right;
    height: 101px;
    margin-bottom: 0;
    margin-right: 0;
    margin-top: 0;
    padding: 9px 10px;
    position: relative;
    text-align: center;
    width: 90px;
}

.navbar-toggle .icon-bar {
    border-radius: 3px;
    display: block;
    height: 6px;
    margin: 8px auto;
    text-align: center;
    width: 70%;
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
    background-color: #cfddc0;
}

.navbar-inverse .navbar-toggle .icon-bar {
  background-color: #005195;
}

.navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
    /*margin-left: 0px;*/
    margin: auto;
}

article figure {
    border: 1px solid #EEEEEE;
    display: block;
    margin: 0 auto;
    padding: 5px;
    text-align: center;
    width: auto;
}

article figure img {
    border: 0 none;
    max-height: 250px;
    width: auto;
}

#barra_cercador {
    color: #FFFFFF;
    font-size: 11px;
    padding: 2px 0px 3px;
    background-color: #FFFFFF;
    border-bottom: 1px solid #7ea8c0;
    /*border-bottom: 10px solid #ff6b00;*/
}

#idioma {
    color: #FFFFFF;
    font-size: 11px;
    padding: 2px 0px 3px;
    background-color: #b7c4d4;
    z-index: 999999;
    /*border-bottom: 4px solid #d06102;*/
    /*border-bottom: 10px solid #ff6b00;*/
}

#idiomes {
    margin: 4px 0;
    text-align: right;
}

#idiomes ul {
    margin: 0 0 1px 0px;
}

#idiomes li {
    display: inline;
    margin: 0;
    padding: 0;
}

#idiomes li .active {
    font-weight: 800;
}

#idiomes li a {
    border-right: 1px solid #002596;
    color: #002596;
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 0 3px;
    padding: 0 6px 0 0;
    text-transform: uppercase;
}

#idiomes li a:hover {
    color: #222222;
    text-decoration: none;
}

#idiomes li:last-child a {
    border: 0 none;
    margin: 0;
    padding: 0;
}

.cercador {
    /*float: left;*/
    margin-top: 2px;
}

#idioma form{
    float:left;
}
#idioma form .form-control{
    height:28px;
    position:relative;
    top:1px;
    float:left;
    margin-right:6px;
}
#idioma form .btn{
    padding:3px 10px;
    position:relative;
    top:1px;
    float:left;
}

/* SOCIAL */

#social ul {text-align: right;}

#social ul li 
{
    display:inline-block!important;
    margin:0;
    padding:0;
    width:33px;
    height:33px;
    background-size: 100%; /*adapta les imatges al tamany del contenidor */
}

#social ul li:hover 
{
    opacity:0.75;
}

#social ul li a 
{
    display:block;
    width:100%;
    height:100%;
    margin:0;
    padding:0;
    text-align:left;
    text-indent:-800px;
    overflow:hidden;   
}

#social ul li:hover 
{
    margin-top:-5px!important;
}


#social-home 
{
    margin: 10px 0;
    text-align: right;
}

#social-home a 
{
    margin: 0 0 0 1px;
}

#social-home a:hover 
{
    text-decoration: none;
}

/* FI SOCIAL */

.data 
{
    font-size: 12px;
}

.nota_legal
{
    display: block;
    float: left;
    width: 100%;
    margin: 10px 0 0;
    font-size: 10px;
}

h6 {
    color: #999999;
    font-size: 11.9px;
    line-height: 0.4em;
    margin-bottom: 15px;
}

.navbar {
    padding-bottom: 15px;
    padding-top: 14px;
    margin-bottom: 0px;
    /*border-top: 6px solid #b7c4d4;*/
    margin-top: 35px;
}

.navbar-default {
    background-color: transparent;
    border: 0 none;
}

.logotip {
    margin-top: 1px;
    padding: 0;
    width: 185px;
}

.breadcrumb {
    background-color: #FFFFFF;
    border-radius: 4px 4px 4px 4px;
    font-size: 11px;
    list-style: none outside none;
    margin: 0 0 20px;
    padding: 1px 5px;
}

.footerMenu {
    text-align: left;
}

.footerMenu ul {
    margin: 3px 0 15px;
}

.footerMenu li {
    list-style-type: none;
    font-weight: bold;
}

.footerMenu li a {
    margin-bottom: 5px;
}

.footerMenu li ul li{
    list-style-type: none;
    font-weight: normal;
    padding: 1px 0;
}

.footerMenuCategoria {
    list-style-type: none;
    font-weight: bold;
    font-size: 15px;
    border-bottom: 1px solid gray;
}

.footer h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1px;
}

.footer {
    padding: 50px 0px;
    font-size: 14px;
    color: #6aba45;
    background-color: #085491;
    /*border-top: 20px solid #e1dee2;*/
}

.footer a {
    color: #FFFFFF;
}

.footer .links_legales
{
    display: block;
    float: left;
    width: 100%;
}

.footer p {
    color: #6aba45;
    margin-bottom: 0;
}

.footer-links {
    margin: 10px 0;
}

.footer-links li {
    display: inline;
    padding-right: 3px;
}

.footer-links li:after {
    color: #999999;
    content: " | ";
    padding-left: 3px;
}

.footer-links li:last-child:after {
    content: "";
}

.footer_pre {
    color: #111111;
    text-align: center;
    margin: 10px 20px 40px;
    line-height: 20px;
    font-size: 11px;
}

.footer_pre a {
    color: #111111;
}

.footer_info {
}

.footer_info a {
    color: #FFFFFF;
}

/*.footer .well{
padding-bottom: 10px;
}*/

.input-xxlarge, input.xxlarge, textarea.xxlarge, select.xxlarge {
    width: 530px;
}

.contacto h3 {
    /*font-size: 18.5px;*/
    padding-bottom: 1px;
    color: #67a727;
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
}

.contacto p {
    color: #999999;
}

.contacto h5 {
    font-size: 16px;
}

.navbar-inner {
    padding-left: 0px;
    padding-right: 0px;
    border: 0px;
    background-image: none;
    background-color: transparent;
    box-shadow: none;
}

.navbar .nav > li {
    border-right: 1px solid #fff;
    /*padding-right: 15px;*/
}

.navbar .nav > li:nth-last-child(3) {
    border-right: 0 solid #fff;
}

.navbar .nav > li:nth-last-child(2), .navbar .nav > li:last-child{
    background: none repeat scroll 0 0 #88c848;
    border-right: 0 solid #fff;
    margin-left: 15px;
    /*padding-right: 0;*/
}

.navbar .nav > li:nth-last-child(2) a, .navbar .nav > li:last-child a {
    color: #333333;
}

.navbar .nav > li:last-child {
    /*border-right: 0 solid #fff;
    margin-left: 15px;*/
}

.navbar .nav > li:last-child a {
    /*color: #005195;*/
}

.navbar .nav > li > a {
    /*border-radius: 6px;
    margin-left: 2px;
    padding: 14px 0 13px 14px;*/
    background-color: transparent;
    color: #FFFFFF;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    text-shadow: none;
    padding: 10px 6px;
}

.navbar .nav > li:first-child > a {
    padding-left: 0px;
}

.navbar .nav > li > a:hover {
    color: #005195;
    background-color: transparent;
}

.navbar .btn-navbar span.nb_left {
    padding: 5px;
}

.navbar .navbar-inner a.brand img {
    margin-top: 15px;
    width: 185px;
}

.navbar .brand {
    margin-left: 0px;
    padding: 0px 0px;
}

.navbar .nav {
    margin-top: 10px;
}

.navbar .btn-navbar {
    padding: 5px 8px;
    background-image: none;
    border: 0px;
    background-color: #CCCCCC;
}

.navbar .btn-navbar .icon-bar {
    background-color: #ff6b00;
    box-shadow: 0;
}


.cercador form {
    margin-bottom: 0px;
    margin-top: 1px;
}

.btn-cercador {
    background-color: #005180;
    background-image: none;
    background-repeat: repeat-x;
    /*border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*/
    border: 1px solid #005180;
    color: #FFFFFF;
    text-shadow: none;
    box-shadow: none;
    border-radius: 0px;
}

.input-large {
    height: 30px !important;
    /*border: none !important;*/
    box-shadow: none !important;
    border-radius: 0px !important;
    background-color: #b7c4d4 !important;
    border: 1px solid #b7c4d4 !important;
}

.container_shadow {
    -webkit-box-shadow: 0 9px 10px 1px rgba(0,0,0,0.2);
    box-shadow: 0 9px 10px 1px rgba(0,0,0,0.2);
    margin-bottom: 0;
    padding: 30px 40px 40px;
}

.container {
}

.containerpad {
    background-color: #ffffff;
    border-bottom: 1px solid #f5f5f5;
    border-left: 1px solid #eeeeee;
    border-right: 1px solid #eeeeee;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
    padding: 10px;
    border-radius: 10px;
}

.pagina h2 {
    color: #67a727;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    border-top: 1px solid #ccc;
    padding-top: 10px;
}

.pagina_media {
    list-style: none;
}

.sidebar_nav {
    border-top: 2px solid #AAAAAA;
    border-bottom: 2px solid #AAAAAA;
    padding: 15px 0px;
    margin-top: 20px;
    /*width: 200px;*/
}

.sidebar_nav h5 {
    color: rgba(0, 81, 149, 0.8);
    font-size: 30px;
    font-weight: 300;
    margin-bottom: 20px;
    margin-top: 0;
}

.sidebar_nav ul {
    margin-left: 0px;
    list-style: none;
}

#sidebar_nav_desktop {
    width: 200px;
}

#sidebar_nav_desktop_600 {
    width: 300px;
}


/*.sidebar_nav li {
border: 1px solid #fff;
border-radius: 4px;
margin: 2px 0;
padding: 8px;
font-size: 12px;
}*/

.sidebar_nav li a {
color: #67a727;
font-size: 16px;
font-weight: 600;
/*display: block;*/
padding: 5px 1px;
}

.sidebar_nav li a:hover {
    color: #999999;
    text-decoration: none;
}

.sidebar_nav li:last-child {
    margin-bottom: 0px;
}

.sidebar_nav i {
    color: #ff6b00;
}

.nav-list .fa.fa-download {
    color: #67a727;
}

.sidebar_nav a:hover i {
    color: #999999;
}

.sidebar_news {
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    /*border-left: 1px solid #e1e1e1;*/
    margin-top: 10px;
    padding: 10px;
}

.sidebar_news ul {
    margin-left: 0px;
}

.sidebar_news li {
    margin-bottom: 10px;
}

.sidebar_news li:last-child {
    margin-bottom: 0px;
}

.sidebar_news h3 {
    border-bottom: 1px dotted #cccccc;
    color: #ff6b00;
    margin-bottom: 20px;
    margin-top: 0;
    padding-bottom: 4px;
    text-transform: uppercase;
}

.sidebar_news h2 {
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px !important;
    margin-top: 4px;
    margin-bottom: 3px;
}

.sidebar_news h5 {
    color: #999;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 0;
}

.sidebar_news p {
    color: #666666;
    line-height: 20px;
}

.sidebar_news a {
    color: #111111;
}

.sidebar_news i {
    color: #ff6b00;
}

.sidebar_news ul li {
    list-style: none;
}

.sidebar_productes {
    border: 1px solid #ff6b00;
    border-radius: 4px;
    /*border-left: 1px solid #e1e1e1;*/
    margin-top: 10px;
    padding: 10px;
}

.sidebar_productes ul {
    margin-left: 0px;
}

.sidebar_productes li {
    margin-bottom: 10px;
}

.sidebar_productes li:last-child {
    margin-bottom: 0px;
}

.sidebar_productes h3 {
    border-bottom: 1px dotted #cccccc;
    color: #ff6b00;
    margin-bottom: 20px;
    margin-top: 0;
    padding-bottom: 4px;
    text-transform: uppercase;
}

.sidebar_productes h2 {
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px !important;
    margin-top: 4px;
    margin-bottom: 3px;
}

.sidebar_productes h5 {
    color: #999;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 0;
}

.sidebar_productes p {
    color: #666666;
    line-height: 20px;
}

.sidebar_productes a {
    color: #111111;
}

.sidebar_productes i {
    color: #ff6b00;
}

.sidebar_productes ul li {
    list-style: none;
}

.contorn {
    border: 1px solid #e1e1e1;
    border-radius: 0px;
    margin-top: 10px;
    padding: 3px;
}

.well {
    /*border: 0;*/
    border-radius: 0px;
    background-color: #ffffff !important;
    box-shadow: none;
    margin: 5px 0;
    padding: 5px 10px;
}

.well_2 {
    border: 0;
    border-radius: 0px;
    background-color: #f5f5f5 !important;
    box-shadow: none;
    margin: 5px 0;
    padding: 12px 10px 5px;
}

.faq_well {
    border-bottom: 1px solid #e1e1e1;
    border-top: 1px solid #e1e1e1;
    margin-top: 40px;
    padding-bottom: 15px;
    padding-top: 10px;
}

.faq_well ul {
    margin-left: 0px;
}

.faq_well li {
    margin-bottom: 30px;
}

.faq_well li a {
    font-weight: 600;
}

.faq_well li:last-child {
    margin-bottom: 0px;
}

.faq_well h3 {
/*border-bottom: 1px dotted #cccccc;
color: #ff6b00;
margin-bottom: 20px;
margin-top: 0;*/
padding-bottom: 4px;
text-transform: uppercase;
}

.faq_well i {
    color: #ff6b00;
}

.span6.thumbmultiple { 
    margin-left: 0 !important;
    clear: both;
}

.afeature {
    /*background-color: #f5f5f5;*/
    background-color: #666666;
    border: 3px solid #d7d7d7;
    border-radius: 2px;
    box-shadow: 0 0 2px #dadada;
    font-size: 12px;
    margin: 10px auto;
    /*padding: 25px 0;*/
    text-align: center;
    text-transform: uppercase;
}

.afeature .caption a {
    color: #FFFFFF;
    display: block;
    font-size: 11px;
    padding: 5px 0;
}

.span3.thumbmultiple { 
    margin-left: 0 !important;
    clear: both;
}

.thumbnails {
    margin-bottom: 0px;
}

.thumbnails ul {
    list-style: none;
}

.thumbnails_noticies_detall .thumbnail {
    padding: 0px;
    border: 0px;
    border-radius: 0px;
}

.thumbnails_noticies .thumbnail {
    padding: 0px;
    border: 0px;
    border-radius: 0px;
}

.thumbnails_noticies .thumbnail .caption {
    padding: 9px 0px;
}

.thumbnails_noticies .thumbnail h3 {
    font-size: 16px;
    line-height: 22px;
}

.thumbnails_noticies .thumbnail p {
    color: #666666;
    min-height: 58px;
    margin-bottom: 1px;
}

.thumbnails_noticies .thumbnail h3 a {
    color: #005195;
}

.publicos .thumbnail img {
    width: 100%;
}

.publicos .thumbnail {
    background-color: #FFFFFF;
    border: 0px;
    box-shadow: none;
    margin-bottom: 10px;
}

.publicos .thumbnail .caption h3 {
    /*border-top: 1px solid #444;*/
    /*padding-top: 15px;*/
    color: #444444;
    font-size: 16px;
    font-weight: 400;
    margin: 15px 0 0;
    text-align: center;
}

.publicos .thumbnail .caption {
    padding: 0px;
}

.publicos .thumbnail .caption p {
    color: #999999;
    font-size: 15px;
    line-height: 20px;
}

.noticias .thumbnail:hover {
    background-color: #ecf1e5;
}

.noticias .thumbnail {
    background-color: #FFFFFF;
    border: 0 none;
    border-radius: 0;
    box-shadow: none;
    padding: 8px;
}

.noticias .thumbnail .caption h3 {
    color: #005195;
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    padding-top: 15px;
}

.noticias .thumbnail .caption {
    padding: 0px;
}

.noticias .thumbnail .caption p {
    color: #999999;
    font-size: 15px;
    line-height: 20px;
}

.icons {
    list-style: outside none none;
    margin-left: 0;
}

.well2 {
    border: 1px solid #ff6b00;
    border-radius: 4px;
    padding: 10px;
}

/*.media li:nth-child(3) {
margin-left:0px;
}
*/

.fa.fa-lock {
    color: #a94442;
}

.div_alerta {
    padding: 10px;
    background-color: #EEEEEE;
    border-radius: 5px;
    -moz-box-shadow: 0px 0px 5px #000000;
    -webkit-box-shadow: 0px 0px 5px #000000;
    box-shadow: 0px 0px 5px #000000;
}

.div_alerta p {
    font-size: 12px;
}

/* Slider FlexSlider */

.slides{
    /*OKKK height: 450px;*/
    /*background-color: #EEEEEE;*/
}

.flexslider  ul li{
    background-image:none;
    padding:0px;
}

.flexslider{
    background: none;
    margin-top:0px;
    margin-bottom:0px;
    border-top:0px solid #2f6a8e;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 0px; 
    padding:0px;
    border-radius:0px;
    box-shadow:none;
    width: auto !important;
}

.flexslider .slides > li {
    position:relative;
    /*OKKK height: 450px;*/
}

.flexslider .slides img {
    /*OKKK height: 450px;*/
/*width: auto !important;*/
/*max-width: none !important;*/
margin: auto;
}

.flexslider .flex-control-nav{
    bottom:15px;
    z-index: 10;
    /*display: none;*/
}

.flex-control-paging li a{
    background:#fff;
/*    box-shadow:0px 0px 3px #555;
*/    border: 1px solid #1f6790;
}

.flex-control-paging li a:hover{
    background:#ccc;
}

.flex-control-paging li a.flex-active{
    background:#b7c4d4;
}

.flex-control-paging li a {
    height: 16px;
    width: 16px;
}

.flex-caption{
    border-left: 0px !important;
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7);
    border-top: 1px solid #111111;
    border-bottom: 1px solid #111111;
    bottom: 0;
    display: block;
    left: 0;
    margin: 0;
    padding: 10px;
    position: absolute;
    width: 100%;
}

.flex-caption-v2{
    border-left: 0px !important;
    bottom: 0px;
    display: block;
    left: 0;
    margin: 0;
    position: absolute;
    width: 100%;
}

.flex-caption-v2int {
    background: none repeat scroll 0 0 rgba(255, 255, 255, 0.7);
    /*border-right: 6px solid #111111;*/
    border-radius: 4px 4px 4px 4px;
    display: table;
    margin: 0 2px 2px 0;
    padding: 10px 60px;
    float: right;
    text-align: right;
}

.flex-caption h3, .flex-caption-v2int h3 {
    color: #29495c;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    margin: 0px;
    padding-bottom: 1px;
    font-family: inherit;
}

.flex-caption h3 span, .flex-caption-v2int span {
    padding-bottom:3px;
    border-bottom:1px solid #999999;
}

.flex-caption p, .flex-caption-v2int p {
    margin:0;
    line-height: 19px;
    color: #29495c;
}

/* Fi Slider FlexSlider */

.social-bar {
  display: inline-block;
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
}

.social-bar a {
  color: #005195;
  display: inline-block;
  font-size: 28px;
  margin-right: 1px;
  text-decoration: none;
}

.lopd-bar{
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
  width: 100%;
}

hr {
    border-color: #b1b1b1;
    border-width: 1px 0;
}

.ptext {
    color: #999999;
    font-size: 15px;
    line-height: 20px;
}

/*.navbar-collapse {
    padding-right: 0px;
    padding-left: 0px;
}*/

.form-control {
    border-radius: 0px;
    box-shadow: none;
    /*border: 0px;*/
}



/* Contacte options ---------------------------------------------------- */
#contacte-options {
display: table;
position: fixed;
top: 200px;
left: -260px;
z-index: 1000;
-webkit-transition: all .25s ease;
-moz-transition: all .25s ease;
-ms-transition: all .25s ease;
-o-transition: all .25s ease;
transition: all .25s ease;
}

#contacte-options:hover {
left: 0;
}

#icon-contacte-options {
display: table-cell;
}

#icon-contacte-options i {
color: #005195;    
border-radius: 0 5px 5px 0;    
background-color: #FFFFFF;    
padding: 20px 10px 20px;
-webkit-box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2), inset 0 0 2px rgba(255, 255, 255, 0.75);
-moz-box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2), inset 0 0 2px rgba(255, 255, 255, 0.75);
box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2), inset 0 0 2px rgba(255, 255, 255, 0.75);
}

#icon-contacte-options img {
color: #005195;    
border-radius: 0 5px 5px 0;    
background-color: #FFFFFF;    
padding: 11px 10px;
height: 50px !important;
-webkit-box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2), inset 0 0 2px rgba(255, 255, 255, 0.75);
-moz-box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2), inset 0 0 2px rgba(255, 255, 255, 0.75);
box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2), inset 0 0 2px rgba(255, 255, 255, 0.75);
}

#body-contacte-options {
display: table-cell;
width: 260px;
background-color: #FFFFFF;
padding: 15px 20px;
position: relative;
z-index: 100;
-webkit-box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2), inset 0 0 2px rgba(255, 255, 255, 0.75);
-moz-box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2), inset 0 0 2px rgba(255, 255, 255, 0.75);
box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2), inset 0 0 2px rgba(255, 255, 255, 0.75);
}

#body-contacte-options h2 {
font-size: 22px;
font-weight: 400;
margin-bottom: 10px;
margin-top: 10px;
line-height: 18px;
}

#body-contacte-options p {
color: #999999;
line-height: 18px;
}

#body-contacte-options h3 {
    color: #67a727;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0;
    margin-top: 10px;
    text-transform: none;
}



/* Documents options ---------------------------------------------------- */
#documents-options {
display: table;
position: fixed;
top: 200px;
right: -260px;
z-index: 1000;
-webkit-transition: all .25s ease;
-moz-transition: all .25s ease;
-ms-transition: all .25s ease;
-o-transition: all .25s ease;
transition: all .25s ease;
}

#documents-options:hover, #documents-options.hovered {
right: 0px;
}

#icon-documents-options {
display: table-cell;
}

#icon-documents-options i {
color: #005195;
border-radius: 6px 0px 0px 6px;    
background-color: #FFFFFF;    
padding: 20px 10px 20px;
-webkit-box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2), inset 0 0 2px rgba(255, 255, 255, 0.75);
-moz-box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2), inset 0 0 2px rgba(255, 255, 255, 0.75);
box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2), inset 0 0 2px rgba(255, 255, 255, 0.75);
}

#icon-documents-options img {
color: #005195;
border-radius: 6px 0px 0px 6px;    
background-color: #FFFFFF;    
padding: 11px 10px;
height: 50px !important;
-webkit-box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2), inset 0 0 2px rgba(255, 255, 255, 0.75);
-moz-box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2), inset 0 0 2px rgba(255, 255, 255, 0.75);
box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2), inset 0 0 2px rgba(255, 255, 255, 0.75);
}

#body-documents-options {
text-align: right;    
display: table-cell;
width: 260px;
background-color: #FFFFFF;
padding: 15px 20px;
position: relative;
z-index: 100;
-webkit-box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2), inset 0 0 2px rgba(255, 255, 255, 0.75);
-moz-box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2), inset 0 0 2px rgba(255, 255, 255, 0.75);
box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2), inset 0 0 2px rgba(255, 255, 255, 0.75);
}

#body-documents-options h2 {
font-size: 22px;
font-weight: 400;
margin-bottom: 10px;
margin-top: 10px;
line-height: 18px;
}

#body-documents-options p {
color: #999999;
line-height: 18px;
margin-bottom: 2px;
}

#body-documents-options p i {
color: #67a727;
}

#body-documents-options h3 {
    color: #67a727;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 0;
    margin-top: 10px;
    text-transform: none;
}

#body-documents-options a i {
color: #67a727;
}

#body-documents-options a {
color: #005195;
display: block;
}

.partners ul {
    padding-left: 0px;
}

.partners ul li {
    list-style: none;
    display: inline;
}

.partners ul li img {
    /*width: 110px;*/
    display: inline;
    margin-right: 15px;
}

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

.carousel-inner .item img:hover {
    border: 2px solid #085491;
}

.btn-newsletter {
    background-color: #085491;
    border-color: #085491;
    color: #ffffff;
}

.media-heading {
    color: #444444;
}

.media-heading a {
    color: #005195;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #CCCCCC;
    border-color: #CCCCCC;
    color: #fff;
    cursor: default;
    z-index: 2;
}

.pagination > li > a, .pagination > li > span {
    color: #CCCCCC;
    line-height: 1.42857;
}

#noticies h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.noticies_categoria h3 {
    font-size: 19px;
    text-transform: uppercase;
    color: #005195;
    margin-bottom: 30px;
}

.llista_descarrega {
    list-style: none;
    margin-bottom: 2px;
}

.llista_descarrega ul {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.img-responsive {
    display: block;
    height: auto;
    max-width: 100%;
}
.imageborder {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    padding: 4px;
}

.pagina h1 {
    margin-bottom: 15px;
}

.btn-ecotic {
    background-color: #67a727;
    background-image: none;
    background-repeat: repeat-x;
    /*border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*/
    border: 0px solid #005195;
    color: #FFFFFF;
    text-shadow: none;
    box-shadow: none;
    border-radius: 0px;
    font-size: 10px;
    text-transform: uppercase;
}

.btn-contacto {
    background-color: #005195;
    background-image: none;
    background-repeat: repeat-x;
    /*border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);*/
    border: 1px solid #005195;
    color: #FFFFFF;
    text-shadow: none;
    box-shadow: none;
    border-radius: 0px;
    font-size: 13px;
}

#contactar label {
    color: #005195;
    font-weight: 600;
}

#contactar input, #contactar textarea {
    background-color: rgba(0, 81, 149, 0.1);
    border: 0px;
}

.documents .llista_descarrega {
    border: 1px solid #eeeeee;
    margin-bottom: 10px;
    padding: 5px 8px;
}

/*.pagina > div {
    font-style: italic;
    font-size: 16px;
    font-weight: 500;
}
*/
div.center {
    color: #67a727 !important;
    text-align: center;
}

.align {
    color: #67a727 !important;
    text-align: center;
}

.pagina h6 {
    color: #67a727;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

.pagina h4 {
    margin-top: 0px;
    font-size: 14px;
}

.pagina h4 a {
    color: #005195;
    font-size: 13px;
    line-height: 20px;
    margin-top: 0px;
}

.pagina h4 .ico_download a {
    color: #67a727;
    font-size: 18px;
    line-height: 20px;
    margin-top: 0px;
}

.pagina .thumbnail {
    padding: 1px;
    color: #005195;
    border: 1px solid #005195;
    border-radius: 0px;
    margin-bottom: 40px;
}

.pagina table {
    background-color: #FFFFFF;
    border: 1px solid #AAAAAA;
    font-size: 13px;
    width: 100%;
    vertical-align: top;
}

.pagina table td {
    padding: 5px;
    border: 1px solid #AAAAAA;
    vertical-align: top;
}

.pagina table tr:first-child {
    color: #FFFFFF;
    background-color: #005195;
    font-weight: 700;
    text-align: center;
}

.authorities tr:first-child {
    background-color: transparent !important;
    color: inherit !important;
    font-weight: inherit !important;
    text-align: left !important;
}

/*.pagina img {
    width: 100%;
}
*/
/*.pagina table tr:nth-last-child(-n+3) {
    background-color: #FFFFFF;
    color: #333333;
}*/

.pagina table tr:nth-first-child(n+2) {
    background-color: #FFFFFF;
    color: #333333;
}

.ico_download {
    color: #67a727;
}

.ico_document_download {
    color: #005195;
    display: block;
    float: left;
    font-size: 23px;
    margin-bottom: 10px;
    margin-right: 10px;
}

.home_intro {
    /*background-color: rgba(103, 167, 39, 0.2);*/
    background-color: transparent;
    border-bottom: 1px solid #005195;
    border-top: 1px solid #005195;
    clear: both;
    display: table;
    padding: 20px 40px;
    width: 100%;
    margin-top: 1px;
}

.home_intro h4 {
    color: #005195;
}

.home_intro h2 {
    color: #666;
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 0;
    margin-top: 0;
}

.portada_inferior h2 {
    margin-top: 10px;
}


.portada_social h2 {
    margin-top: 0px;
}

.noticies_categoria {
    margin-bottom: 20px;
}

.noticies_categoria ul {
    list-style: none;
    display: inline;
}

.noticies_categoria li {
    list-style: none;
    display: inline;
    margin-right: 30px;
}

.noticies_categoria li a {
    color: rgba(0, 81, 149, 0.8);
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
}

.noticies_categoria li b {
    text-decoration: underline;
}

.noticia_fletxa a{
    font-size: 24px;
    color: rgba(0, 81, 149, 0.8);
}

.noticia_fletxa_container {
    margin-bottom: 20px;
}

.aviso_legal h4 {
    color: #005195;
}

.thumbnails_noticies_detall img {
    height: auto;
    width: 100%;
}

.ancora {
    display: block;
    height: 115px; /*same height as header*/
    margin-top: -115px; /*same height as header*/
    visibility: hidden;
}

.butlleti hr {
    border-top: 1px solid #EEEEEE;
    height: 1px;
}























































/*Browser Hacks*/
/*http://www.fix-css.com/cheat-sheets/css-hacks/
https://css-tricks.com/snippets/css/browser-specific-hacks/*/

@media screen and (-webkit-min-device-pixel-ratio:0)
{

#documents-options {
display: table;
position: fixed;
right: -260px;
top: 200px;
transition: all 0.25s ease 0s;
z-index: 1000;
-webkit-transition: all .25s ease;
-moz-transition: all .25s ease;
-ms-transition: all .25s ease;
-o-transition: all .25s ease;
transition: all .25s ease;
}

#contacte-options {
display: table;
position: fixed;
top: 200px;
left: -260px;
z-index: 1000;
-webkit-transition: all .25s ease;
-moz-transition: all .25s ease;
-ms-transition: all .25s ease;
-o-transition: all .25s ease;
transition: all .25s ease;
}

}




/* Large desktop */
@media (min-width: 1200px) { 

.navbar .nav {
margin-top: 25px;
}

.navbar .nav {
float: right;
margin-right: -15px;
}

}


/* Desktop */
@media (min-width: 1080px) { 

.navbar .nav {
float: right;
margin-right: -15px;
}

}


/* Desktop */
@media (max-width: 1024px) { 

.navbar .nav {
/*margin-right: -15px;    */
float: right;    
margin-top: 25px;
}

.navbar-collapse {
padding-left: 0px;
}

}



/* Desktop */
@media (max-width: 800px) { 

.navbar .nav { 
float: right;    
/*margin-top: 25px;*/
}

}




/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) { 

.navbar .nav > li > a {
padding: 6px 8px;
background-color: #transparent;
border-radius: 3px;
margin-left: 0px;
}

.navbar .nav {
margin-top: 25px;
}

.navbar-collapse {
padding-left: 0px;
}

.cercador {
margin-top: 8px;
}

.contorn .youtube iframe {
    height: 185px;
}

}




/* Landscape phone to portrait tablet */
@media (max-width: 767px) { 

/*.navbar .nav > li > a {
    padding: 6px 8px;
}*/

.footer {
padding: 5px 0;
}

.social-bar {
width: 100%;
text-align: center;
}

.navbar-collapse {
padding-left: 0px;
}

.navbar-nav {
text-align: center;
}

.logotip {
padding: 19px;
display: table;
}

.navbar-nav {
float: none;
background-color: #FFFFFF;
}

.navbar-brand {
float: none;
margin: auto;
}

/*    .navbar-collapse.collapse {
margin-left: -30px;
margin-right: -15px;
}*/

.navbar {
margin-bottom: 0px;
padding-bottom: 0px;
padding-top: 0px;
}

.navbar .nav {
margin-bottom: 0;
margin-top: 0;
}

.navbar .nav > li > a {
border-bottom: 1px solid #005195;
border-radius: 0px;
color: #005195;
font-size: 28px;
font-weight: 300;
margin-left: 0;
padding: 24px 10px;
text-transform: uppercase;
}

.navbar .nav > li > a:hover {
background-color: rgba(103, 167, 39, 0.4);
}

.navbar .nav > li:last-child > a {
border-bottom: 0px solid #000000;
border-radius: 0px;
}

.portada_social h2 {
margin-top: 10px;
}

#idiomes {
text-align: center;
}

.flexslider {
margin: 25px 15px;
}

}




/* Landscape phones and down */
@media (max-width: 600px) { 

header {
    height: 116px;
}

.logotip {
padding: 9px 6px 6px;
display: table;
}

.navbar .nav {
float: none;
/*margin-right: -15px;*/
}

.container_shadow {
padding: 30px 20px 40px;
}

.navbar-toggle {
    height: 80px;
    padding: 5px 6px;
}

.contorn .youtube iframe {
    height: 150px;
}

.navbar .nav > li > a {
    font-size: 18px;
    padding: 14px 10px;
}

}



/* Landscape phones and down */
@media (max-width: 568px) { 

.contorn .youtube iframe {
    height: 140px;
}

}




/* Landscape phones and down */
@media (max-width: 480px) { 

.navbar .btn-navbar {
clear: both;
margin-top: 0;
position: relative;
top: 65px;
}

.navbar .navbar-inner a.brand img {
width: 230px;
}

#idiomes ul {
margin: 0 0 1px;
text-align: center;
}

.sidebar_news {
border: 1px solid #e1e1e1;
border-radius: 4px;*/
}

}


















/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */ 
@media only screen and (min-width : 320px) {
    
}

/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}


/*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {

}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {

}

/* Custom, iPhone Retina */ 
@media only screen and (max-width : 320px) {
    
}