/* Global */
.txt-color_ajuntament {
  color: #ba3535 !important;
}

/* FLEX */
.row_f {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}
/* Create four equal columns that sits next to each other */
.column_f {
  flex: 33.3%;
  max-width: 33.3%;
  padding: 0 4px;
}

.column_f img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media (max-width: 800px) {
  .column_f {
    flex: 50%;
    max-width: 50%;
  }
  .column_f img {
    margin-top: 8px;
    vertical-align: middle;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
  .column_f {
    flex: 100%;
    max-width: 100%;
  }
  .column_f img {
    margin-top: 8px;
    vertical-align: middle;
  }
}
/* Fi flex */
/* Campanyes */
.info_overlay_agenda {
  padding-bottom: 2%;
  min-height: 169px;
}
.info_overlay_agenda:hover .overlay_agenda {
  transform: scale(1)
}

.content{
  position:relative;
}
.content .content-overlay {
  background: rgba(0,0,0,0.7);
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  margin:0;
  padding:0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}
.content:hover .content-overlay{
  opacity: 1;
}
.content-image{
  width: 100%;
  height:100%;
}
.content-details {
  position: absolute;
  text-align: center;
  padding: 0 1rem;
  width: 100%;
  top: 40%;
  left: 50%;
  opacity: 0;
  color: white;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}
.content:hover .content-details{
  top: 50%;
  left: 50%;
  opacity: 1;
}

.info_campanya {
  padding-bottom: 2%;
  /*min-height: 234px;*/
}
.info_campanya img {
  width: 100%;
  height: 235px;
  object-fit: cover;
}
.info_campanya .text {
  color: white;
  font-size: 17px;
  position: absolute;
  margin:auto;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;  
  padding: 20px;
}
/* Fi campanya petit */
/* Campanya gran */
.info_campanya_gran {
  /*min-height: 472px;*/
  padding-bottom: 2%;
}
.info_campanya_gran:hover .overlay_gran {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.info_campanya_gran img {
  width: 100%;
  max-height: 460px;
}
.overlay_gran { 
  /*position: absolute;*/
  height: 460px;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  opacity:0.5;
  visibility: hidden;
  transition: .3s ease;
  transform: scale(0);
  -webkit-transform:scale(0);
}
.info_campanya_gran .text {
  color: white;
  font-size: 18px;
  position: absolute;
  margin:auto;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;  
}
/* Fi campanya gran */
/* Botons campanyes */
.btn_veure-mes-campanya {
  padding-top: 20px;
  width: 100%;
}
.veure-mes-campanya {
  background: #ffffff;
  cursor: pointer;
  color: #343a40;
  text-align: center;
  width: 50%;
  margin: 0 auto;
}
.veure-mes-campanya:hover {
  background: #ba3535;
  color: white;
}
.veure-mes-campanya p{
  padding: 5px;
}
.veure-mes-campanya a {
  color: white;
}
.veure-mes-campanya a:hover {
  color: white;
}
/* Fi campanyes */
/* Detall campanyes */
.campanya-contingut {
  height: 200px;
  line-height: 200px;
  text-align: center;
}
.campanya-contingut span {
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
}
.titol_detall_campanya {
  color: #ba3535;
  margin: 0;
  font-size: 27px !important;
}
.campanya-border_granate {
  border: 5px solid #9c2d3b;
}
/* Anuncis campanyes */
.img_anunci_c img {
  width: 100%;
}
.carousel_c img {
  width: 100%;
  height: 348px;
  object-fit: cover;
}
@media (max-width: 475px) {
  .titol_detall_campanya {
    color: #ba3535;
    margin: 0;
    font-size: 21px !important;
  }
  .campanya-border_granate {
    border: 5px solid #9c2d3b;
  }
  .overlay_gran { 
    height: 490px;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    opacity:0.5;
    visibility: hidden;
    transition: .3s ease;
    transform: scale(0);
    -webkit-transform:scale(0);
  }
  .info_campanya_gran img {
    width: 100%;
    max-height: 490px;
  }
  .img_anunci_c img {
    width: 49%;
  }
  .carousel_c img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
@media (max-width: 375px) {
  .titol_detall_campanya {
    color: #ba3535;
    margin: 0;
    font-size: 21px !important;
  }
  .campanya-border_granate {
    border: 5px solid #9c2d3b;
  }
  .overlay_gran { 
    height: 490px;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    opacity:0.5;
    visibility: hidden;
    transition: .3s ease;
    transform: scale(0);
    -webkit-transform:scale(0);
  }
  .info_campanya_gran img {
    width: 100%;
    max-height: 490px;
  }
  .img_anunci_c img {
    width: 49%;
  }
  .carousel_c img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
/* Fi detall campanyes */

/* GRID Campanyes */
.grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-gap: 10px;
  padding: 10px;
  width: 100%;
}
.grid-container > div {
  text-align: center;
}

.item1 {
  grid-row: 1 / 4;
}

@media (max-width: 768px) {
  .grid-container {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 10px;
    padding: 10px;
    width: 100%;
  }
  .item1 {
    grid-row: 1 / 3;
  }
}
@media (max-width: 475px) {
  .grid-container {
    display: grid;
    grid-template-columns: auto;
    grid-gap: 10px;
    padding: 10px;
    width: 100%;
  }
}
@media (max-width: 375px) {
  .grid-container {
    display: grid;
    grid-template-columns: auto;
    grid-gap: 10px;
    padding: 10px;
    width: 100%;
  }
}
/* Fi Grid */

/*Tràmits*/
.contingut_tramits h5{
  color: #ba3535;
}

.tramit {
  border-bottom: 1px dotted #8A8989;
  margin-bottom: 22px;
  padding-bottom: 7px;
} 
.tramit span{
  padding-left: 10px;
}
#docs_annexats a{
  color: #3F51B5;
}
#docs_annexats a:hover {
  color: #bb7dc5;
}
.tramits-inici h3{
  font-size: 1.5em;
}

.perfilContractant {
    background: #ba3535;
    box-shadow: 2px 2px 6px #888;
    cursor: pointer;
    color: white;
    padding: 10px;
    width: 100%;
}
.perfilContractant:hover {
    background: #bb7dc5;
}
.perfilContractant i {
  padding-left: 5px;
}
.perfilContractant span {
  padding-left: 15px;
}
.perfilContractant a {
  color: white;
}
.perfilContractant a:hover {
  color: white;
}

.botons-regidors {
  height: 55px !important;
}
.botons-regidors p {
  line-height: 34px !important;
}
.grups-politics_info{
  position: absolute;
  bottom: 0;
}
.tramits_temes a {
  /*list-style-type:none; per treure els punts de li*/
  font-size: 1rem;
  font-weight: 400;
}
.tramits_temes span {
  padding-left: 15px;
}
.foto_regidor img {
  width: 100%;
  padding-bottom: 2%;
}
.foto_actes img {
  width: 49%;
  padding-bottom: 2%;
}

.btn_veure_mes {
  padding-top: 20px;
  width: 100%;
}
.veure_mes {
  background: #343a40;
  box-shadow: 2px 2px 6px #888;
  cursor: pointer;
  color: white;
  text-align: center;
  width: 25%;
  margin:0 auto;
}
.veure_mes:hover {
  background: #ba3535;
}
.veure_mes p{
  padding: 15px;
}
.veure_mes a {
  color: white;
}
.veure_mes a:hover {
  color: white;
}

.col-banners img {
  width: 65%;
  padding-bottom: 2%;
}

@media (max-width: 768px) {
  .col-banners img {
    width: 65%;
    padding-bottom: 2%;
  }
}

/* NOTICIES */
.panell-noticies_bottom {
  bottom: 0;
  position: absolute;
  width: 100%;
}
.btn_veure_mes_noticies {
  /*padding-top: 20px;*/
  width: 100%;
}
.veure_mes_noticies {
  background: #424242;
  box-shadow: 2px 2px 6px #888;
  cursor: pointer;
  color: white;
  text-align: center;
  width: 50%;
  margin:0 auto;
}
.veure_mes_noticies:hover {
  background: #ba3535;
}
.veure_mes_noticies p{
  padding: 6px;
}
.veure_mes_noticies a {
  color: white;
}
.veure_mes_noticies a:hover {
  color: white;
}

.veure_mes_noticies_anys {
  background: #ba3535;
  box-shadow: 2px 2px 6px #888;
  cursor: pointer;
  color: white;
  text-align: center;
  width: 75%;
  margin:0 auto;
}
.veure_mes_noticies_anys:hover {
  background: #424242;
}
.veure_mes_noticies_anys p{
  padding: 6px;
}
.veure_mes_noticies_anys a {
  color: white;
}
.veure_mes_noticies_anys a:hover {
  color: white;
}

.titol_inici_noticia {
  color: #ba3535; 
  margin: 0;
  font-size: 20px !important;
  font-weight: 400 !important;
}
.titol_inici_noticia p{
  color: #ba3535; 
  margin: 0;
  font-size: 25px !important;
}

.titol_inici_noticia a{
  color: #34282a !important; 
}

.titol_inici_noticia a:hover{
  color: #ba3535 !important; 
}

.titol_item_noticia {
  color: #ba3535; 
  margin: 0;
  font-size: 20px !important;
  font-weight: 400 !important;
}
.titol_item_noticia p{
  color: #ba3535; 
  margin: 0;
  font-size: 25px !important;
}

.titol_item_noticia a{
  color: #ba3535 !important; 
}

.titol_item_noticia a:hover{
  color: #34282a !important; 
}

.titol_detall_noticia {
  color: #ba3535; 
  margin: 0;
  font-size: 33px !important;
}

.titol_detall_noticia p{
  color: #ba3535; 
  margin: 0;
  font-size: 30px !important;
}

.imatge-gran-noticia {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  /*height: 360px;*/
  overflow: hidden;
}

.imatge-gran-noticia img {
  /*max-width: 100%;
  height:auto;*/
  max-width: 100%;
  max-height: 335px;
  object-fit: cover;
}

.separador-noticia {
  border-bottom: 1px dotted #8A8989;
  margin-bottom: 22px;
  padding-bottom: 7px;
}

.noticia-img_opacity img {
  transition-duration: 1s;
  width: 100%;
  height: 234px;
  object-fit: cover;
}

.noticia-img_opacity img:hover {
  opacity: 0.5;
  /*transform: scale(0.9);*/
}

.noticia-contingut img {
  float:left; 
  width:45%; 
  padding-right: 20px; 
  padding-bottom: 5px;
  padding-top: 5px;
}

.imatge-gran-slider {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  height: 500px;
  overflow: hidden;
}

.imatge-gran-slider img {
  max-width: 1140px;
  height:auto;
}

.carousel-caption a {
  color: white;
}

.carousel-caption a:hover {
  color: #ba3535;
}

.article {
  overflow: hidden;
  padding: 5px 15px;
  margin: 0 0 30px;
}
.article .article-title {
  padding: 20px 0 20px;
}
.article .article-title h6 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}
.article .article-title h6 a {
  text-transform: uppercase;
  color: #2196f3;
  border-bottom: 1px solid #2196f3;
}
.article .article-title h2 {
  color: #2196f3;
  font-weight: 400;
}
.article .article-title .media {
  padding-top: 15px;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 5px;
}
.article .article-title .media .avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
}
.article .article-title .media .media-body {
  padding-left: 0;
}
.article .article-title .media .media-body label {
  font-weight: 600;
  color: #fc5356;
  margin: 0;
}
.article .article-title .media .media-body span {
  display: block;
  font-size: 12px;
}
.article .article-content h1,
.article .article-content h2,
.article .article-content h3,
.article .article-content h4,
.article .article-content h5,
.article .article-content h6 {
  color: #ba3535;
  font-weight: 600;
  margin-bottom: 15px;
}
.article .article-content blockquote {
  max-width: 600px;
  padding: 15px 0 30px 0;
  margin: 0;
}
.article .article-content blockquote p {
  font-size: 20px;
  font-weight: 500;
  color: #fc5356;
  margin: 0;
}
.article .article-content blockquote .blockquote-footer {
  color: #20247b;
  font-size: 16px;
}
.article .article-content blockquote .blockquote-footer cite {
font-weight: 600;
}
.article .article-content img {
  max-width: 100%;
  height: auto;
}
.article .tag-cloud {
  padding-top: 10px;
}

.article-comment {
  box-shadow: 0 0 30px rgba(31, 45, 61, 0.125);
  border-radius: 5px;
  overflow: hidden;
  background: #ffffff;
  padding: 20px;
}
.article-comment h4 {
  color: #20247b;
  font-weight: 700;
  margin-bottom: 25px;
  font-size: 22px;
}
.article-img img {
  width: 100%;
}

.section-title h2 {
    font-weight: 700;
    color: #20247b;
    font-size: 45px;
    margin: 0 0 15px;
    border-left: 5px solid #fc5356;
    padding-left: 15px;
}
.px-btn {
    padding: 0 50px 0 20px;
    line-height: 60px;
    position: relative;
    display: inline-block;
    color: #20247b;
    background: none;
    border: none;
}
.px-btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 30px;
    background: transparent;
    border: 1px solid rgba(252, 83, 86, 0.6);
    border-right: 1px solid transparent;
    -moz-transition: ease all 0.35s;
    -o-transition: ease all 0.35s;
    -webkit-transition: ease all 0.35s;
    transition: ease all 0.35s;
    width: 60px;
    height: 60px;
}
.px-btn .arrow {
    width: 13px;
    height: 2px;
    background: currentColor;
    display: inline-block;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 25px;
}
.px-btn .arrow:after {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    content: "";
    position: absolute;
    top: -3px;
    right: 0;
    display: inline-block;
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

@media only screen and (max-width:767px) {
  .article {
    overflow: hidden;
    padding: 0;
    margin: 0 0 0;
  }
}

img {
  max-width: 100%;
}
img {
  vertical-align: middle;
  border-style: none;
}

/* Blog Sidebar
-------------------*/
.blog-aside .widget {
/*box-shadow: 0 0 30px rgba(31, 45, 61, 0.125);
border-radius: 5px;*/
overflow: hidden;
/*background: #ffffff;*/
margin-top: 15px;
margin-bottom: 15px;
width: 100%;
display: inline-block;
vertical-align: top;
}
.blog-aside .widget-body {
padding: 15px;
}
.blog-aside .widget-title {
padding: 15px;
border-bottom: 1px solid #ddd;
}
.blog-aside .widget-title h3 {
color: #c53b4c;
margin: 0;
font-size: 20px !important;
font-weight: 400 !important;
}
.blog-aside .widget-author .media {
margin-bottom: 15px;
}
.blog-aside .widget-author p {
font-size: 16px;
margin: 0;
}
.blog-aside .widget-author .avatar {
width: 70px;
height: 70px;
border-radius: 50%;
overflow: hidden;
}
.blog-aside .widget-author h6 {
font-weight: 600;
color: #20247b;
font-size: 22px;
margin: 0;
padding-left: 20px;
}
.blog-aside .post-aside {
margin-bottom: 15px;
}
.blog-aside .post-aside .post-aside-title h5 {
margin: 0;
}
.blog-aside .post-aside .post-aside-title a {
font-size: 18px;
color: #20247b;
font-weight: 600;
}
.blog-aside .post-aside .post-aside-meta {
padding-bottom: 10px;
}
.blog-aside .post-aside .post-aside-meta a {
color: #6F8BA4;
font-size: 12px;
text-transform: uppercase;
display: inline-block;
margin-right: 10px;
}
.blog-aside .latest-post-aside + .latest-post-aside {
border-top: 1px solid #eee;
padding-top: 15px;
margin-top: 15px;
border-top: 1px dashed #ddd;
}
.blog-aside .latest-post-aside .lpa-right {
width: 90px;
}
.blog-aside .latest-post-aside .lpa-right img {
border-radius: 3px;
}
.blog-aside .latest-post-aside .lpa-left {
padding-right: 15px;
}
.blog-aside .latest-post-aside .lpa-title h5 {
margin: 0;
font-size: 15px;
}
.blog-aside .latest-post-aside .lpa-title a {
color: #34282a;
font-weight: 400;
}
.blog-aside .latest-post-aside .lpa-title a:hover {
color: #ba3535;
font-weight: 400;
}
.blog-aside .latest-post-aside .lpa-meta a {
color: #6F8BA4;
font-size: 12px;
text-transform: uppercase;
display: inline-block;
margin-right: 10px;
}
.tag-cloud a {
padding: 4px 15px;
font-size: 13px;
color: #ffffff;
background: #0d74b7;
border-radius: 3px;
margin-right: 4px;
margin-bottom: 4px;
}
.tag-cloud a:hover {
background: #ba3535;
}
.blog-single {
padding-top: 0;
padding-bottom: 30px;
}

@media (max-width: 768px) {
  .imatge-gran-slider {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    height: 158px;
    overflow: hidden;
  }
  .carousel-caption {
    padding: 33px !important;
  }
  .carousel-caption h3 {
    font-size: 16px !important;
  }
  .carousel-caption small {
    font-size: 70% !important;
  }
}

@media (max-width: 475px) {
  .titol_detall_noticia {
    color: #ba3535;
    margin: 0;
    font-size: 21px !important;
  }
  .noticia-contingut img {
    float: left;
    width: 100%;
    padding-right: 0;
    padding-bottom: 15px;
    padding-top: 5px;
  }
}
@media (max-width: 375px) {
  .titol_detall_noticia {
    color: #ba3535;
    margin: 0;
    font-size: 21px !important;
  }
  .noticia-contingut img {
    float: left;
    width: 100%;
    padding-right: 0;
    padding-bottom: 15px;
    padding-top: 5px;
  }
}

/* AGENDA */
.card-body {
  position:  relative !important;
}
.lloc-esdeveniment {
  position: absolute;
  bottom: 0;
}

/* XARXES SOCIALS */

.color_icon_twitter {
  color: #1da1f2;
}

.color_icon_twitter:hover {
  color: white;
}

/* xarxes socials capçalera */
.nav-xxmobile {
  display: none;
  top: -10px;
  position: relative;
}
.nav-xxmobile img {
  width: 150px;
  padding-right: 5px;
}
.nav-desktop {
  display: block;
  margin-top: -15px;
}
.nav-desktop img {
  width: 195px;
  padding-right: 5px;
}

/* REGIDORS */

.nom_regidor {
	position:absolute; /* Important */
	width:100%; /* Important */
	bottom:0; /* Important */
	left:0;
	background-color:rgba(0, 0, 0, 0.5);
  filter:alpha(opacity=50);
}
.nom_regidor h4 {
  padding-top: 15px !important;
  font-weight: normal !important;
	text-align:center;
  color: white;
  margin-left: 0 !important;
}

.fitxa_regidor {
  /*border-bottom: 1px dotted #8A8989;*/
  margin-bottom: 22px;
  padding-bottom: 22px;
  text-align: justify;
}

.fitxa_regidor table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border: 1px solid #ddd;
}

.fitxa_regidor th {
  background-color: #E0E0E0;
  /*color: black;*/
  text-align: center;
  padding: 12px;
}

.fitxa_regidor td {
  text-align: center;
  padding: 8px;
}

.fitxa_regidor tr:nth-child(even){
  background-color: #f2f2f2
}

.titol_card {
  margin: 0;
  font-size: 20px !important;
}

.info-regidor {
  margin-top: 1rem!important;
}
.logo-partit {
  display: block;
}
.logo_esq-partit {
  display: none;
}
.mida-xarxes_socials {
  font-size: 25px;
}

@media (max-width: 768px) {
  .info-regidor {
    margin-top: .2rem!important;
  }
  .logo-partit {
    display: none;
  }
  .logo_esq-partit {
    display: block;
  }
  .nav-xxmobile {
  display: block;
  }
  .nav-desktop {
    display: none;
  }
}

/* TEMES */
.card_tema {
  text-align: center;
  align-content: center;
  align-self: center;
}
.card_tema img {
  padding-left: 5px;
  transition-duration: 1s;
}
.card_tema img:hover {
  opacity: 0.5;
}
.titol_item_noticia_tema {
  color: #ba3535; 
  margin: 0;
  font-size: 16px !important;
}
.heading_wrapper {
  text-align: left;
  margin-bottom: 25px;
}
.heading-line {
  width: 100%;
  height: 1px;
  background: #ccc;
  margin-top: 10px;
}
.heading-line span {
  display: block;
  width: 60px;
  background: #222;
  height: 1px;
}
.mes-info-tema a {
  display: inline !important;
  font-size: 17px !important;
  padding-right: 0 !important;
  color: #ba3535;
}

@media (max-width: 375px) {
  .veure_mes {
    background: #ba3535;
    box-shadow: 2px 2px 6px #888;
    cursor: pointer;
    color: white;
    text-align: center;
    width: 75%;
    margin:0 auto;
  }
  .veure-mes-campanya {
    background: #ffffff;
    cursor: pointer;
    color: #343a40;
    text-align: center;
    width: 75%;
    margin:0 auto;
  }
  .carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 0 !important;
    width: 100% !important;
    height: 36% !important;
    text-align: center;
  }
  .carousel-caption p {
    display: none;
  }
  .carousel-caption h6 {
    margin: 0;
    position: absolute;
    top: 15%;
    width: 100%;
    left: 0;
  }
  .nav-xxmobile {
    display: block;
  }
  .nav-desktop {
    display: none;
  }
}

@media (max-width: 475px) {
  .veure_mes {
    background: #ba3535;
    box-shadow: 2px 2px 6px #888;
    cursor: pointer;
    color: white;
    text-align: center;
    width: 75%;
    margin:0 auto;
  }
  .veure-mes-campanya {
    background: #ffffff;
    box-shadow: 2px 2px 6px #888;
    cursor: pointer;
    color: #343a40;
    text-align: center;
    width: 75%;
    margin:0 auto;
  }
  .carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 0 !important;
    width: 100% !important;
    height: 36% !important;
    text-align: center;
  }
  .carousel-caption h6 {
    margin: 0;
    position: absolute;
    top: 15%;
    width: 100%;
    left: 0;
  }
  .carousel-caption p {
    font-size: 12px;
  }
  .nav-xxmobile {
    display: block;
  }
  .nav-desktop {
    display: none;
  }
}

/* CAROUSEL DE THEMES 
---------------------*/
.slide-box {
  display: flex;
  justify-content: space-between;
  text-align: center;
}

.slide-box a img {
  max-width: 90%;
}

.carousel-caption {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  width: 100%;
  height: 145px;
  text-align: center;
}

.carousel-caption h6 {
  margin: 0;
  position: absolute;
  top: 20%;
  width: 100%;
  left: 0;
}

@media (max-width: 575px)
{
  .carousel-caption h6 {
    margin: 0;
    position: absolute;
    top: 20%;
    width: 100%;
    left: 0;
    font-size: 14px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .slide-box img {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .slide-box img {
    -ms-flex: 0 0 33.3333%;
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
  .carousel-caption p {
    font-size: 12px;
  }
}

@media (min-width: 992px)
{
  .slide-box img {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
}

/* Social media */
.social_media .fas {
  padding: 20px;
  font-size: 30px;
  width: 90px;
  text-align: center;
  text-decoration: none;
  position: relative;
}
.social_media .fas:hover {
    opacity: 0.7;
}
.social_media .fa-facebook {
  background: #3B5998;
  color: white;
}
.social_media .fa-twitter {
  background: #55ACEE;
  color: white;
}
.social_media .fa-linkedin {
  background: #007bb5;
  color: white;
}
.social_media .fa-youtube {
  background: #bb0000;
  color: white;
}
.social_media .fa-instagram {
  background: #e4405f;
  color: white;
}
.social_media .fa-soundcloud {
  background: #ff5500;
  color: white;
}
.social_media .fa-rss {
  background: #ff6600;
  color: white;
}
.vertical-center {
  -ms-transform: translateY(50%);
  transform: translateY(50%);
}
.vertical-center h3 {
  font-size: 1.25rem;
}

@media (min-width: 320px) and (max-width: 576px) {
  .vertical-center {
    -ms-transform: translateY(0);
    transform: translateY(0);
    margin-bottom: 25px;
  }
  .social_media .fa-facebook{
    width: 100%;
    margin-bottom: 5px;
  }
  .social_media .fa-twitter {
    width: 100%;
    margin-bottom: 5px;
  }
  .social_media .fa-linkedin {
    width: 100%;
    margin-bottom: 5px;
  }
  .social_media .fa-youtube {
    width: 100%;
    margin-bottom: 5px;
  }
  .social_media .fa-instagram {
    width: 100%;
    margin-bottom: 5px;
  }
  .social_media .fa-soundcloud {
    width: 100%;
    margin-bottom: 5px;
  }
  .social_media .fa-rss {
    width: 100%;
    margin-bottom: 5px;
  }
}

/* Mes informació tema
----------------------*/
#mes-info {
  padding: 1px 0 60px;
  overflow: hidden;
}

#mes-info #mes-info-list {
  padding: 0;
  list-style: none;
}

#mes-info #mes-info-list li {
  border-bottom: 1px solid #ddd;
}

#mes-info #mes-info-list a {
  padding: 18px 0;
  display: block;
  position: relative;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  line-height: 1;
  font-weight: 300;
  padding-right: 20px;
}

#mes-info #mes-info-list i {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 16px;
}

#mes-info #mes-info-list p {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  #mes-info #mes-info-list a {
    font-size: 18px;
  }
  #mes-info #mes-info-list i {
    top: 13px;
  }
}

#mes-info #mes-info-list a.collapse {
  color: #1dc8cd;
}

#mes-info #mes-info-list a.collapsed {
  color: #000;
}

#mes-info #mes-info-list a.collapsed i::before {
  content: "\f2c7" !important;
}

/* Webs interés tema 
--------------------*/
.links_interes {
  background-color: #9b2d3a;
}
.links_interes h5 {
  color: #ffffff;
  padding: 10px;
  text-align: center;
}

/* IMG Personal
---------------*/
.requadre-personal {
  background-color: #f3f4f5;
  height: 148px;
}
.img-personal img {
  /*width: 100%;*/
  width: 104px;
  object-fit: cover;
  /*height: 112px;*/
}

@media (max-width: 375px) {
  .requadre-personal {
    background-color: #f3f4f5;
    height: auto;
  }
  .img-personal img {
    width: 100%;
    object-fit: cover;
  }
}
@media (max-width: 475px) {
  .requadre-personal {
    background-color: #f3f4f5;
    height: auto;
  }
  .img-personal img {
    width: 100%;
    object-fit: cover;
  }
}
@media (max-width: 768px) {
  .requadre-personal {
    background-color: #f3f4f5;
    height: auto;
  }
  .img-personal img {
    width: 100%;
    object-fit: cover;
  }
}

/* enllaços corporatius */
.show-logos-responsive {
  display: none;
}
.hide-logos-responsive {
  display: flex;
}
@media (max-width: 375px) {
  .show-logos-responsive {
    display: flex;
  }
  .hide-logos-responsive {
    display: none !important;
  }
}
@media (max-width: 475px) {
  .show-logos-responsive {
    display: flex;
  }
  .hide-logos-responsive {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .show-logos-responsive {
    display: flex;
  }
  .hide-logos-responsive {
    display: none !important;
  }
}

/* Cursos música */

#curs_p3 {
  display: none;
}
#curs_p4 {
  display: none;
}
#curs_p5 {
  display: none;
}
#curs_mm1 {
  display: none;
}
#curs_mm2 {
  display: none;
}
#curs_emp1 {
  display: none;
}
#curs_emp2 {
  display: none;
}
#curs_emp3 {
  display: none;
}
#curs_emp4 {
  display: none;
}
#curs_ems1 {
  display: none;
}
#curs_ems2 {
  display: none;
}
#curs_ems3 {
  display: none;
}
#curs_ems4 {
  display: none;
}
#curs_emj {
  display: none;
}
#curs_ema {
  display: none;
}
#nif_required {
  display: none;
}
#lbl_email_alumne {
  display: none;
}
#lbl_telefon_alumne {
  display: none;
}
#pack_ems1_c {
  display: none;
}
#pack_ems2_c {
  display: none;
}
#pack_ems3_c {
  display: none;
}
#pack_ems4_c {
  display: none;
}
#pack_emj_c {
  display: none;
}
#pack_ema_c {
  display: none;
}

/* Cursos dansa */

#curs_pd {
  display: none;
}
#curs_cm1 {
  display: none;
}
#curs_cm2 {
  display: none;
}
#curs_mccc1 {
  display: none;
}
#curs_mccc2 {
  display: none;
}
#curs_bcbm {
  display: none;
}
#curs_adult {
  display: none;
}

/* noticies */
.imatge-home {
  text-align: left;
  background-position: center;
  background-size: cover;
  justify-content: flex-start;
  align-items: flex-end;
  width: 100%;
  height: 350px;
  display: flex;
  position: relative;
  background-position-y: 0px;
}

.imatge-home-zoom {
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  }
  
.imatge-home-zoom:hover {
  transform: scale(1.1);
  transition: all 0.3s;
  }

.noticia-pelicula {
  background: rgb(0,0,0);
  background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5382528011204482) 31%, rgba(0,0,0,0) 62%);
  top: 0px;
  right: 0px;
  left: 0px;
  bottom: 0px;
  position: absolute;
}

.noticia-caption {
  padding: 1.25rem;
  z-index: 10;
  color: #fff;
  position: absolute;
  object-position: top;
  pointer-events: none;
  z-index: 1;
  bottom: 0;
  margin-bottom: 15px;
}

/* campanyes v2 */
.campanya-gran-altura {
  /* min-height: 350px; */
}
.campanya-gran-altura img {
  min-height: 350px;
  max-height: 350px;
  object-fit: cover;
  object-position: top; /* TEMPORAL */
}
.campanya-gran-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.25rem;
  background-image: linear-gradient(to bottom,rgba(0,0,0,0) 0, rgba(0,0,0,0.5) 0, rgba(0,0,0,.9) 100%);
}
.campanya-petita-altura {
  min-height: 150px;
}
.campanya-petita-altura img {
  object-fit: cover;
  height: 215px;
}
.imatge-home-campanya {
  text-align: left;
  background-position: center;
  background-size: cover;
  justify-content: flex-start;
  align-items: flex-end;
  width: 100%;
  height: 248px;
  display: flex;
  position: relative;
  background-position-y: 0px;
}

.imatge-home-zoom-campanya {
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  }
  
.imatge-home-zoom-campanya:hover {
  transform: scale(1.1);
  transition: all 0.3s;
  }
/* Fi campanyes */
/* Missatge cookies */
.galetes {
  background-color: #ebf8ff!important;
  color: #2b6cb0!important;
  --border-opacity: 1!important;
  border-color: rgba(66,153,225,var(--border-opacity))!important;
  padding: 1rem!important;
  border-top-width: 4px!important;
  border: 0 solid #e2e8f0;
  z-index: 999;
}