/* Estils genèrics */
.text-ev {
  font-size: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  text-shadow: 3px 2px 0px rgba(0, 0, 0, 1),-1px 1px 10px rgba(0, 0, 0, 1),5px -2px 6px rgba(0, 0, 0, 1);
}

/*** START FAQ ***/
.ftco-section {
  padding: 30px 0;
  position: relative;
}
.bg-light {
  background: #fff !important;
}
.faq-pod .myaccordion {
  margin: 0 auto;
  overflow: hidden;
}
.faq-pod .myaccordion .card,
.faq-pod .myaccordion .card:last-child .card-header {
    border: none;
    background: transparent;
}
.faq-pod .myaccordion .card-header {
  border: none;
  background: transparent;
}
.faq-pod .myaccordion .card-header p {
  position: relative;
  font-weight: 400;
  font-size: 15px;
  text-align: left;
}
.faq-pod .myaccordion .fa {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.3);
}
.faq-pod .myaccordion .btn {
  width: 100%;
  font-weight: 600;
  color: black;
  padding: 0;
  white-space: break-spaces !important;
  /*text-transform: capitalize;*/
  letter-spacing: 0;
  border-radius: 0 !important;
  margin-bottom: 10px;
  border-radius: 1.25rem !important;
  -webkit-box-shadow: 0px 2px 8px -4px rgba(0, 0, 0, 0.21) !important;
  -moz-box-shadow: 0px 2px 8px -4px rgba(0, 0, 0, 0.21) !important;
  box-shadow: 0px 2px 8px -4px rgba(0, 0, 0, 0.21) !important;
}
.faq-pod .myaccordion .btn-link:hover,
.faq-pod .myaccordion .btn-link:focus {
  text-decoration: none;
}
.faq-pod button[aria-expanded="true"] {
  background-color: #9c2d3b;
  color: #fff !important;
}
.faq-pod button[aria-expanded="false"] {
  background-color: #dce1e9;
}
.faq-pod button[aria-expanded="false"]:hover {
  background-color: #9c2d3b;
  color: white;
}
.faq-pod .card-body {
  background: #fff;
  margin-bottom: 10px;
  border-radius: 30px;
  padding: 20px !important;
  -webkit-box-shadow: 0px 2px 8px -4px rgba(0, 0, 0, 0.21) !important;
  -moz-box-shadow: 0px 2px 8px -4px rgba(0, 0, 0, 0.21) !important;
  box-shadow: 0px 2px 8px -4px rgba(0, 0, 0, 0.21) !important;
}
.faq-pod button[aria-expanded="true"] .fa {
  color: #fff !important;
}
.faq-pod .myaccordion .fa {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.3);
}
.faq-pod .myaccordion .fa {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.3);
}
.faq-pod [data-toggle="collapse"].collapsed .fa:before {
  content: "\f067";
  font-family: "FontAwesome";
  font-style: normal;
}
.faq-pod [data-toggle="collapse"] .fa:before {
  content: "\f068";
  font-family: "FontAwesome";
  font-style: normal;
}
/*** END FAQ ***/

/* START CAROUSEL CATEGORIES */
.label-categoria{
  opacity: 0.95;
  width: 100%;
  height: 30px;
  font-size: 16px;
  position: absolute;
  top: 94%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  background-color: #000000cc;
}
.label-categoria:hover{
  background-color: none;
  transform: translateY(-5px);
  transition: all 0.25s;
  opacity: 0;
}

.owl-carousel .owl-item, .owl-carousel .owl-wrapper {
  /*background-color: black !important;*/
  border-top-left-radius: calc(.25rem - 1px);
  border-top-right-radius: calc(.25rem - 1px);
}
.owl-carousel .owl-item img {
  /*opacity: 0.7;*/
  object-fit: cover;
  height: 186px;
  transition: transform .2s;
}
.owl-carousel .owl-item img:hover{
  -ms-transform: scale(1.5); /* IE 9 */
  -webkit-transform: scale(1.5); /* Safari 3-8 */
  transform: scale(1.5); 
}
.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev, .owl-carousel button.owl-dot {
  padding: 1% !important;
  font-size: 25px !important;
}
.owl-theme .owl-nav [class*=owl-]:hover {
  background: #961E2B !important;
}

.ev-carousel img {
  width: 100%;
  height: auto;
}
.hover-carousel:hover{
  transform: translateY(-5px);
  /*box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);*/
  transition: all 0.25s;
  opacity: 0.8;
}
.overlay-tema-ev {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  /*background-color: #6b1c26eb*/
  border-radius: 0.25rem !important;
}
a:hover .overlay-tema-ev {
  opacity: 1;
}
/* END CAROUSEL CATEGORIES */
/*** START BOTÓ CITA PRÈVIA ***/
.boto-cita-previa {
  background-color: #fcedf0;
  padding: 20px;
  color: #9a2323;
  text-align: center;
  font-size: 1rem;
  border: #961e2b 1px solid;
  border-radius: 8px;
}
.boto-cita-previa:hover {
  background-color: #9a2323;
  color: #fcedf0;
  transition: all 0.25s;
}
.mida-icona {
  font-size: 1.5em;
}
.mapa{
  border-radius: 1.25rem;
}
.detall-contacte {
  font-size: 17px;
}
/*** END BOTÓ CITA PRÈVIA ***/

/* Icones espai Contacte*/
.icons-ev-contact {
  color:#D83144;
}

/* START ESTILS RECURS X */
.text-article-prova {
  font-size: 17px;
}
.font-weight-bold {
  font-weight: 500!important;
  /*background-color: #000000cc;*/
}
.iframe-container {
  text-align: center;
}
/* END ESTILS RECURS X */

/* START PDFs POD */ 
.text-block {
  display:block;
  text-align: center;
}
.text-block a {
  border-bottom: none !important;
}
.pdf {
  background-color: #fff !important;
  color: #B71C1C;
}
.pdf:hover {
  background-color: #B71C1C !important;
  color: #fff;
  transition: 0.5s;
}
.pdf h6 {
  background-color: #fff !important;
  color: #B71C1C;
}
.pdf:hover h6 {
  background-color: #B71C1C !important;
  color: #fff;
  transition: 0.5s;
}
.pdf:hover {
  background-color: #B71C1C !important;
  color: #fff;
}
/* END PDFs POD */

/* START ESTIL CARD RECURS */
.pod-card {
  border-radius: 1.25rem;
}
.pod-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.25s;
}
.enllas-card {
  color: #000 !important;
}
.enllas-card:hover {
  color: #000 !important;
  font-weight: normal !important;
  opacity: 0.8;
}

.img-card {
  object-fit: cover;
  height: auto;
  border-top-right-radius: 1.25rem;
  border-top-left-radius: 1.25rem;
}
/* END ESTIL CARD RECURS */

/* START PAGINATOR */
nav ul li #color-sabarca-seleccionat {
  background-color: #961E2B;
  color: white ;
}
nav ul li #color-sabarca-deseleccionat {
  background-color: white;
  color: #961E2B;
}
nav ul li #color-sabarca-deseleccionat:hover {
  background-color:#DCDCDC	;
  color: #961E2B !important;
}
/* END PAGINATOR */

/* START BOTÓ VEURE MÉS */
.btn_veure_mes {
  padding-top: 20px;
  width: 100%;
}
.veure_mes_recursos {
  background: #961E2B;
  box-shadow: 2px 2px 6px #888;
  cursor: pointer;
  color: white;
  text-align: center;
  width: 25%;
  margin:0 auto;
  border-radius: 10px;
  border-radius: 1.25rem;
}
.veure_mes_recursos:hover {
  background: #691b25;
  transition: 0.5s;
}
.veure_mes_recursos p{
  padding: 15px;
}
.veure_mes_recursos a {
  color: white;
}
.veure_mes_recursos a:hover {
  color: white;
}
/* END BOTÓ VEURE MÉS */

/* Detall recurs */
.portada-pod {
width: 50%;
}
@media (max-width: 720px) {
  .portada-pod {
    width: 100%;
  }
}