html {
  scroll-behavior: smooth;
}
body {
  font-family: "Anek Latin", sans-serif;
}
.content, nav {
  max-width: 1300px;
  margin: auto;
}
.content {
  padding: 0 30px;
}
header {
  height: 55px;
  padding: 30px;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
p {
  font-size: 1.1rem;
  line-height: 1.4rem;
	font-weight: 200;
}
#newsletter p, body, h1, h3 {
  margin: 0;
}
.card .num, h1, h2 {
  font-weight: 500;
  /*font-size: 3rem;*/
  font-size: 2.2rem;
}
h1 {
  font-size: 2.9em;
}
h2 {
  line-height: 1.3em;
}
.card .num, h3 {
  color: #beae3c;
}
.subtitle {
  font-size: 1.4em;
}
#links ul li, h2, hgroup {
  margin: 10px 0;
}
#logo {
  width: 25%;
  height: 55px;
}
#logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}
#links ul, nav ul {
  list-style-type: none;
  padding: 0;
}
nav ul {
  width: 75%;
  margin: 0;
  overflow: hidden;
  justify-content: flex-end;
}
nav ul li {
  float: left;
  margin: 0 2%;
}
#presentacio-text a {
  text-decoration: none;
  color: #beae3c;
  font-weight: 600;
}
nav ul li a {
  text-decoration: none;
  color: inherit;
}
.informe-btn a, hr {
  background-color: #beae3c;
}
.informe-btn, .informe-btn a, nav ul {
  display: flex;
  align-items: center;
}
.informe-btn a {
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0.4em;
  text-decoration: none;
  font-size: 1.2rem;
}
.informe-btn img {
  height: 22px;
  margin-left: 0.3em;
}
#hero {
  background-image: url(../img/hero.jpg);
  background-position: bottom right;
  background-size: cover;
  padding-top: 100px;
  height: 450px;
}
#hero-text {
  width: 40%;
}
#presentacio div {
  width: 50%;
}
#cards {
  display: flex;
  justify-content: space-between;
}
.action-btn a, .card {
  background-color: #fff;
  display: flex;
}
.card {
  flex-direction: column;
 /* width: 18%;*/
  border-radius: 0.4em;
  padding: 3%;
  gap: 15px;
  position: relative;
  margin-top: 30px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
}
.card-img {
  border-top: 2px solid #beae3c;
  padding-top: 20px;
}
.card-img img {
  height: 60px;
}
.card .data {
  color: #595959;
  font-size: 0.9em;
}
#presentacio, .two-data {
  display: flex;
  flex-direction: row;
}
.two-data {
  gap: 30px;
}
.info {
  flex-direction: column;
  gap: 15px;
}
#presentacio {
  justify-content: space-between;
  margin-top: 250px;
}
hr {
  width: 75px;
  height: 5px;
  border: 0;
  margin: 0 0 20px;
}
#presentacio-text hgroup {
  margin-bottom: 35px;
}
#documents {
  background-image: url(../img/documents.jpg);
  background-position: bottom center;
  background-size: cover;
  /*padding: 100px 0;*/
  padding: 50px 0 5px 0;
  margin-top: 100px;
}
#documents .content, #edicions-anteriors .content, .info, .table {
  display: flex;
}
#documents-text {
  width: 33%;
}
#documents-img {
  width: 100%;
}
#links ul {
  margin-top: 30px;
	width: 100%!important;
}
#links ul li {
  font-size: 1.1em;
}
#indicadors-base {
  display: flex;
  align-items: stretch;
  padding: 100px 30px;
  justify-content: space-between;
}
#indicadors-text {
  width: 45%;
}
#indicadors-tables {
    width: 45%;
    display: flex;
    gap: 20px;
    background-image: url(../img/hero.jpg);
    background-position: bottom right;
    background-size: cover;
}
.table {
    /*background-color: #666666;*/
    border-radius: 0.4em;
    width: 50%;
    padding: 20px;
    flex-direction: column;
    overflow: hidden;
}
.table img {
    /* height: 290px; */
    margin: 25px 0;
    width: 300px;
    rotate: 20deg;
}
.action-btn{
  /*display: flex;*/
  /*display: none;*/
	visibility: hidden;
  flex-direction: row;
  margin: 25px auto;
}
.action-btn a {
  width: 30px;
  height: 30px;
  border-radius: 100%;
  justify-content: center;
  margin: 0 5px;
}
.action-btn a img {
  width: 20px;
  height: 20px;
  margin: 0;
}
.accent-text {
  font-weight: 700;
}
#fundacio > a, #on-som a, .btn {
  text-decoration: none;
}
.btn {
    color: #000;
    /* width: 100%; */
    border-radius: 0;
    border: none;
    background: #fff;
    /* margin: 10px -20px; */
    padding: 10px;
}
#edicions-anteriors, footer {
  background-color: #f0f0f0;
  padding: 50px 0;
}

#edicions-anteriors{
    background-image: url(../img/portata_informe1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}
#edicions-text, #newsletter .content div {
  width: 50%;
}
#edicions-card {
  width: 50%;
  display: flex;
  justify-content: flex-end;
}
#informe-card {
  width: 60%;
  border-radius: 0.4em;
  background-color: #fff;
}
.card-head {
  background-image: url(../img/date.jpg);
  background-size: cover;
  border-radius: 0.4em 0.4em 0 0;
  padding: 15px;
}
#newsletter, .year {
  background-color: #beae3c;
}
.year {
  color: #f0f0f0;
  padding: 5px 10px;
  font-weight: 600;
  border-radius: 0.4em;
  box-shadow: rgba(100, 100, 111, 0.2) 0 0 5px 0;
}
.card-head .action-btn {
  margin: 120px 0 0;
  display: flex;
  justify-content: flex-end;
}
.card-text {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#newsletter {
  color: #fff;
  padding: 25px 0;
}
#contact > div, #newsletter .content, .action-btn a {
  align-items: center;
}
#nl-form {
  text-align: end;
}
#nl-form button, #nl-form input {
  border: 0;
  border-radius: 5em;
  font-family: inherit;
}
#nl-form input {
  padding: 12px;
  width: 100%;
}
.nl-form /*button*/ {
  padding: 10px 30px;
  background-color: #000;
  font-weight: 600;
  color: #fff;
  /*margin: -37px 2px 0 0;*/
  float: left;
  cursor: pointer;
  border: none;
  border-radius: 5px;
}
form {
  margin-bottom: 0;
}
#footer-columns, #newsletter .content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
#fundacio, #on-som, #segueixnos {
  width: 26%;
}
#on-som a {
  color: inherit;
}
#generalitat {
  width: 14%;
  text-align: right;
}
.logo-footer img {
  width: 150px;
}
#contact > div {
  display: flex;
  margin-top: 15px;
}
#contact > div img {
  width: 25px;
  margin-right: 10px;
}
#fundacio > a {
  color: #beae3c;
  font-weight: 600;
}
#segueixnos a {
  margin: 0 3px;
}
#legal {
  background-color: #c6c6c6;
  padding: 20px 0;
}
#legal a {
  text-decoration: none;
  color: inherit;
}
nav > a {
  display: none;
}
 
@media screen and (max-width: 425px) {
/*  .mj-capitol h1 {
*/    
	.card .num, h1, h2 {
		font-size: 1.5rem;
  }
	.mj-capitol h1 {
        font-size: 1.8rem!important;
    }
	.content {
    padding: 0 10px!important;
}
}
@media screen and (max-width: 768px) {
  nav > a {
    display: inline;
  }
  header {
    height: auto;
  }
  nav {
    flex-wrap: wrap;
  }
  nav > ul {
    display: none;
    margin-top: 30px;
    width: 100%;
    flex-direction: column;
  }
  nav > ul > li {
    padding-block: 15px;
  }
  nav > a > i {
    color: #999999;
  }
  #hero {
    height: auto;
    padding-block: 50px;
  }
  #cards {
    flex-wrap: wrap;
    margin-top: 50px;
  }
  .card {
    width: 42%;
    margin-top: 30px;
  }
  #indicadors-tables, #presentacio {
    margin-top: 50px;
  }
	.mj-img-mov img {
    /* max-width: 800px; 
    margin: 30px 20px 80px -20px!important;*/
}
	.mj-img{
		
        margin: 0px 20px 80px -60px;
    }

	#presentacio, .two-data {
    display: block;
    flex-direction: row;
}
  #presentacio-img {
    display: block;
  }
  #documents-img, #documents-text, #edicions-card, #edicions-text, #footer-columns > div, #hero-text, #indicadors-tables, #indicadors-text, #informe-card, #newsletter .content div, #presentacio div {
    width: 100%;
  }
  #documents {
    margin-top: 50px;
    padding: 50px 0;
  }
  #documents .content, #edicions-anteriors .content, #newsletter .content {
    flex-wrap: wrap;
  }
  #documents-img, #edicions-card {
    margin-top: 30px;
  }
  #indicadors-tables {
    gap: 1%;
    justify-content: space-between;
  }
  #indicadors-base {
    padding: 50px 30px;
    flex-wrap: wrap;
  }
  .table {
    width: 40%;
  }
  #newsletter .content div {
    padding-inline: 10%;
    text-align: center;
    justify-content: center;
    display: flex;
  }
  #nl-form {
    text-align: center;
    margin-top: 20px;
    width: 100%;
  }
  #nl-form input {
    padding: 10px;
  }
  #nl-form button {
    margin-block: 10px;
    width: 100%;
  }
  #footer-columns {
    flex-wrap: wrap;
  }
  #generalitat {
    margin-top: 50px;
  }
  #generalitat, #legal {
    text-align: center;
  }
}
/*mj*/
.bx-wrapper .bx-controls-direction a {
  /* margin-top: 16px !important; */
  /* top: initial !important; */
  /* margin: -200px 0px; */
  top: 40% !important;
}
.bx-wrapper {
  -moz-box-shadow: 0 !important;
  -webkit-box-shadow: 0 !important;
  box-shadow: none !important;
  border: 5px solid transparent !important;
  background: none !important;
}
.bx-wrapper .bx-next {
  right: 10px;
  background: url('../../resources/img/controls.png') no-repeat -43px 0px !important;
}
.bx-wrapper .bx-prev {
  left: 10px;
  background: url('../../resources/img/controls.png') no-repeat 0 0px !important;
}
.bx-wrapper .bx-prev:hover {
  left: 10px;
  background: url('../../resources/img/controls.png') no-repeat 0 -32px !important;
}
.bx-wrapper .bx-next:hover {
  background: url('../../resources/img/controls.png') no-repeat -43px -32px !important;
}
.bx-controls.bx-has-controls-direction.bx-has-pager {
  margin: 50px auto;
}
.bx-wrapper .bx-pager.bx-default-pager a {
  background: #f5f5f5 !important;
  text-indent: -9999px;
  display: block;
  width: 20px !important;
  height: 20px !important;
  margin: 0 5px;
  outline: 0;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  border: #999 solid 2px;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover, .bx-wrapper .bx-pager.bx-default-pager a.active, .bx-wrapper .bx-pager.bx-default-pager a:focus {
  background: #beae3c !important;
}
.mj-capitol:hover {
  color: #beae3c !important;
}
.mj_slider {
  padding: 0 20%;
  margin: 10px 0;
}
.bx-controls.bx-has-controls-direction.bx-has-pager {
  margin: -150px auto 150px;
}
.mj_capitol {
  text-decoration: none;
  color: #fff;
}
.mj_capitol:visited {
  color: #fff;
}
.mj_capitol:hover, .informe-btn a:hover {
  color: #000;
}
@media only screen and (max-width: 768px) {
  .mj-capitol h1 {
    font-size: 2.2rem;
  }
  .mj_slider {
    /* padding: 0%;
    margin: auto;*/
  }
  .bx-viewport {
    height: 450px;
  }
  .bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto {
    position: absolute;
    bottom: auto !important;
    width: 100%;
  }
  .bx-controls.bx-has-controls-direction.bx-has-pager {
    margin: -20px auto 56px;
  }
  .mj_slider h3 {
    font-size: 1rem;
  }
}
/**/
.mj-ani-block {
  /*animation: fadeIn 6s ease-out infinite;*/
  /*box-shadow: 0 0 0 0 rgba(255, 255, 255, 1);*/
  animation: pulso 4s infinite;
}
.mj-ani-block:hover {
  animation: none;
}
#informe-card{
	    box-shadow: 1px 3px 13px 0px rgb(213 213 213);
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
#mj-btn-cap {
  width: 9%;
  margin: auto;
}
@keyframes pulso {
  0% {
    transform: scale(1);
    opacity: 0;
    /*box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);*/
  }
  70% {
    transform: scale(1.1);
    opacity: 1;
    /*box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);*/
  }
  100% {
    transform: scale(1);
    opacity: 1;
    /*box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);*/
  }
}