* {
  font-family: 'Montserrat', sans-serif;
}
header.masthead {
  background: #ccc;
  background: #385cad;
  /* background-image: url(../img/slider.png); */
  background-repeat: no-repeat;
  background-size: cover;
  height: 160vh;
  background-position: center;
}
/*mj*/
#logo_peu {
  width: 100%;
  max-width: 200px;
}
.card-img-top {
  /* width: 60%!important; */
  /*margin-bottom: -40px;*/
}
.bases p, .bases li {
  font-size: .9rem;
  font-weight: 300;
}
/*mj*/
#relativo {
  position: relative;
  height: 70vh;
}
.h1-header, .h2-header {
  padding-left: 0vw;
  color: #f4e72f;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.0rem;
  text-align: left;
  bottom: 10px;
  position: absolute;
  transform: translateY(-44px);
}
.explicacio {
  top: 30px;
  float: left;
  /* left: 6vw; */
  max-width: 500px;
  text-align: left;
  position: absolute;
}
.explicacio p {
  color: #fff;
  font-size: 1em;
}
.explicacio p.h1-gold {
  color: #f4e72f;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700 !important;
  font-size: 3.5rem;
}
.svg {
  /* transform: rotate(90deg); */
  height: 68vh;
  float: right;
  right: 0;
  top: 0;
  position: absolute;
}
.d-none {
    /* display: none!important; */
    margin: 0 0 40px;
	display: block!important;
}
@media (max-width: 689px) {
  .svg {
    height: 300px;
    bottom: 10px;
    top: auto;
  }
  .content-text {
    width: 100vw;
  }
}
@media (min-width: 690px) and (max-width: 991px) {
  .svg {
    height: 400px;
    bottom: 10px;
    top: auto;
  }
}
@media (min-width: 620px) and (max-width: 990px) {
  #relativo {
    max-width: 100%;
    padding: 0px 40px;
  }
}
p.h1 {
  color: #385cad !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700 !important;
  font-size: 3.5rem !important;
  text-align: center;
}
p.h2 {
  color: #385cad !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700 !important;
  font-size: 2.5rem;
  margin-bottom: 0px !important;
  text-align: center;
}
/* #################################################################### */
.navbar-custom {
  background: #385cad;
}
.display-4 {
  color: #385cad;
}
.logo {
  max-width: 200px;
  text-align: center;
  float: left;
  left: 6vw;
  position: absolute;
  margin-top: -24px;
}
.ensenyament {
  max-width: 200px;
  float: right;
  right: 6vw;
  position: absolute;
}
.navbar div {
  height: 50px;
}
.btn-primary, .btn-primary-blanc {
    background-color: #fff;
    border-color: #385cad;
    border-radius: 100px;
    color: #385cad;
    margin: 10px 0 0 0;
}
.btn-primary-blanc {
  color: #FFF;
}
.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
  background-color: #f4e72f !important;
  border-color: #f4e72f !important;
  color: #385cad;
}
.btn-primary-blanc:active, .btn-primary-blanc:focus, .btn-primary-blanc:hover {
  background-color: #fff !important;
  border-color: #f4e72f !important;
  color: #385cad;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700 !important;
}
p.expl {
  font-size: 1em !important;
  text-align: center;
}
.fcri-section {
  background: #efefef;
  padding: 20px 0px;
}
.footer-section {
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}
header.masthead .masthead-content {
  margin-top: 0vh;
}
.bg-black {
  background-color: #f4e72f !important;
}
.footer {
  color: #385cad;
}
.modal-dialog {
  max-width: 80vw;
}
.logo-menu {
  height: 200px;
  background: #fff0;
  border: 4px solid #fff;
}
.logo-menu:hover {
  border: 4px solid #385cad;
}
.logo-menu img {
  margin-bottom: 10px;
}
.btn-primary:focus {
  box-shadow: 0 0 0 0.1rem rgb(56, 92, 173);
  color: #385cad;
}
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
  color: #385cad;
}
.titol-participa {
  font-size: 2rem;
  width: 100%;
}
/*PROGRAMA*/
.card-program {
    border-radius: 0px;
    text-align: center;
    border: 0px;
    background: #385cad;
}
.card-program div {
  margin: 10px 0px;
  border: 0px solid #ccc;
}
.separator {
  margin-top: 7vh;
}
.program-card {
  margin-bottom: 40px !important;
}
.img-program {
  padding-top: 40px;
}
.title-program {
  font-size: 2rem;
  width: 100%;
  margin: 40px 0px;
}
.program-title {
  color: #385cad;
  font-weight: 500 !important;
  font-size: 16px;
}
.program-card h4 {
  background: #385cad;
  color: #fff;
  padding: 4px 5px;
  width: fit-content;
  font-size: 18px;
  font-weight: 400 !important;
  margin-top: 60px;
}
.program-card strong {
  display: block;
}
.program-card span {
  display: block;
  font-weight: 600;
}
.btn-web {
  margin-top: 40px;
  background: #f4e72f;
  border-color: #f4e72f;
  color: #385cad;
}
.btn-web:active, .btn-web:focus, .btn-web:hover {
  background-color: #385cad !important;
  border-color: #385cad !important;
  color: #f4e72f;
}
p {
  color: black;
  /*font-size: 0.8rem;*/
  font-size: 0.9rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
}
.card-body > p u {
  font-size: 1.1rem;
}
/* GALLERY */
.relative {
  position: relative;
}
.h-galeria {
  position: absolute;
  bottom: 0px;
  color: #385cad !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700 !important;
  font-size: 3.5rem !important;
  text-align: center;
}
.item img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}
.photos div, .photos div a {
  padding: 15px;
  margin: 0px;
}
/* VIDEO */
.video {
  padding: 0px 30px;
}
iframe {
  border: 0;
  height: 700px;
  /*max-height: 50vh;*/
  width: 100%;
}
/* ################################## ANIMATION TEXT ################################## */
.content-text {
  /* position: absolute; */
  bottom: 0px;
  /* padding-left: 6vw; */
  height: 160px;
  overflow: hidden;
  font-size: 35px;
  line-height: 40px;
  color: #f4e72f;
  width: 50vw;
}
.content__container {
  font-weight: 600;
  overflow: hidden;
  height: 40px;
}
.content__container__text {
  float: left;
  margin: 0;
  color: #f4e72f;
}
.content__container__list {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0px;
  text-align: left;
  list-style: none;
  -webkit-animation-name: change;
  -webkit-animation-duration: 10s;
  -webkit-animation-iteration-count: infinite;
  animation-name: change;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  color: #FFF;
}
.content__container__list__item {
  line-height: 40px;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}
@-webkit-keyframes opacity {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
@keyframes opacity {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
@-webkit-keyframes opacity {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
@-o-keyframes opacity {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
@-moz-keyframes opacity {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
@keyframes opacity {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
@-webkit-keyframes change {
  0%, 32% {
    transform: translate3d(0, 0, 0);
  }
  33%, 65% {
    transform: translate3d(0, -30%, 0);
  }
  66%, 100% {
    transform: translate3d(0, -65%, 0);
  }
}
@keyframes change {
  0%, 32% {
    transform: translate3d(0, 0, 0);
  }
  33%, 65% {
    transform: translate3d(0, -30%, 0);
  }
  66%, 100% {
    transform: translate3d(0, -65%, 0);
  }
}
@-webkit-keyframes change {
  0%, 32% {
    transform: translate3d(0, 0, 0);
  }
  33%, 65% {
    transform: translate3d(0, -30%, 0);
  }
  66%, 100% {
    transform: translate3d(0, -65%, 0);
  }
}
@-o-keyframes change {
  0%, 32% {
    transform: translate3d(0, 0, 0);
  }
  33%, 65% {
    transform: translate3d(0, -30%, 0);
  }
  66%, 100% {
    transform: translate3d(0, -65%, 0);
  }
}
@-moz-keyframes change {
  0%, 32% {
    transform: translate3d(0, 0, 0);
  }
  33%, 65% {
    transform: translate3d(0, -30%, 0);
  }
  66%, 100% {
    transform: translate3d(0, -65%, 0);
  }
}
@keyframes change {
  0%, 32% {
    transform: translate3d(0, 0, 0);
  }
  33%, 65% {
    transform: translate3d(0, -30%, 0);
  }
  66%, 100% {
    transform: translate3d(0, -65%, 0);
  }
}
/* animation SVG */
.svg {
  /*-webkit-animation: blur 3s infinite;*/
  -webkit-animation: hue 3s infinite;
}
@-webkit-keyframes blur {
  0%, 100% {
    -webkit-filter: blur(0px);
  }
  50% {
    -webkit-filter: blur(10px);
  }
}
@-webkit-keyframes hue {
  0%, 100% {
    -webkit-filter: hue-rotate(0deg);
  }
  50% {
    -webkit-filter: hue-rotate(-40deg);
  }
}
/* ########################################################################################## */
@media screen and (min-height: 500px) and (max-height: 92020px) {
  header.masthead {
    height: 110vh;
    background-size: cover;
  }
  .masthead-content {
    margin-top: -5vh;
  }
}
@media (min-width: 992px) {
  header.masthead .masthead-content .masthead-heading {
    font-size: 2rem;
    color: #385cad;
  }
  h2.masthead-subheading {
    color: #385cad;
  }
  header.masthead .masthead-content .masthead-subheading {
    font-size: 2.5rem;
  }
}
@media (min-width: 481px) and (max-width: 992px) {
  header.masthead .masthead-content .masthead-heading {
    font-size: 1.6rem;
    color: #385cad;
  }
  header.masthead .masthead-content .masthead-subheading {
    font-size: 3.2rem;
    color: #385cad;
  }
}
@media (min-width: 481px) and (max-width: 780px) {
  .display-4 {
    font-size: 2rem !important;
    text-align: center;
  }
  div.p-5 {
    padding: 1rem !important;
  }
  header.masthead .masthead-content .masthead-heading {
    font-size: 1.6rem;
    color: #385cad;
  }
  header.masthead .masthead-content .masthead-subheading {
    font-size: 2rem;
    color: #385cad;
  }
  header.masthead .masthead-content {
    margin-top: -2vh;
  }
  .modal-dialog {
    max-width: 80vw;
  }
  .text-sm-center {
    text-align: center !important;
  }
  .footer-section {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
  }
}
@media (max-width: 480px) {
  .logo-menu {
    width: 50vw;
    height: auto;
  }
  .logo, .ensenyament {
    max-width: 140px;
  }
  .display-4 {
    font-size: 2rem !important;
    text-align: center;
  }
  div.p-5 {
    padding: 1rem !important;
  }
  header.masthead .masthead-content .masthead-heading {
    font-size: 1rem;
    color: #385cad;
  }
  header.masthead .masthead-content .masthead-subheading {
    font-size: 2rem;
    color: #385cad;
  }
  header.masthead .masthead-content {
    margin-top: -4vh;
  }
  .modal-dialog {
    max-width: 100vw;
  }
  .text-sm-center {
    text-align: center !important;
  }
  .footer-section {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
  }
  .col-xs-6 {
    width: 50%;
  }
  .logo-menu {
    width: 100%;
  }
  /* 2022 */
  .navbar.py-3 {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
  .explicacio p.h1-gold {
    font-size: 1.5em;
  }
  .explicacio p {
    font-size: 14px;
    line-height: 1.2em;
  }
  .svg {
    opacity: 0.3;
  }
  header.masthead {
    padding-top: 120px;
    height: auto;
    padding-bottom: 20px;
  }
  .h1-header {
    bottom: 0px;
    transform: auto;
    font-size: 25px;
  }
  .explicacio {
    display: block;
    padding: 0px 20px;
    top: 0px;
    left: auto;
  }
  .item img {
    height: 15vh;
  }
  #relativo, .explicacio {
    position: unset;
  }
  .content-text {
    margin-top: 20px;
    padding-top: 20px;
    width: 100%;
    position: relative;
    padding-left: 20px;
    margin: 0px;
    font-size: 1.5em;
  }
  .photos div, .photos div a {
    padding: 1px;
  }
  .photos {
    margin: auto;
  }
  .item {
    /*width: 33%!important;*/
    width: 100%;
  }
  video {
    border-radius: 1000px;
    width: 100%;
  }
  .content-text {
    display: none;
  }
  .my-5.galeria {
    margin-top: 10px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
  }
  .video {
    padding: 0px 14px;
    margin-top: 0px !important;
    padding-top: 1px;
  }
  iframe {
    height: 250px;
  }
  p.h2 {
    font-size: 1.75em;
  }
  .btn-primary {
    font-size: 14px;
  }
  .card-body {
    padding: 0px;
  }
  section.fcri-section {
    padding: 80px 0px;
  }
  #relativo {
    height: auto;
    min-height: 75vh;
  }
}
@media (min-width: 992px) and (max-width: 1299px) {
  header.masthead {
    padding-top: 80px;
    padding-bottom: 00px;
  }
  .h1-header, .h2-header {
    padding-left: 0vw;
    color: #f4e72f;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-align: left;
    bottom: -69px;
    position: absolute;
  }
}
@media (min-width: 1300px) {
  header.masthead {
    padding-top: calc(10rem + 55px);
    padding-bottom: 10rem;
  }
  b, strong {
    font-weight: 600 !important;
  }