/*
Theme Name: Bridge Child
Theme URI: http://demo.qodeinteractive.com/bridge/
Description: A child theme of Bridge Theme
Author: Qode Interactive
Author URI: http://www.qodethemes.com/
Version: 1.0.0
Template: bridge
*/
@import url("../bridge/style.css");

/*estilos globales de los botones*/
.buttom-sticky {
position: fixed;
/*width: auto !important;
height: 34px !important;*/
z-index: 999999;

}
/*.buttom-sticky a {
background-color: #CA0000;
color: #fff;
font-size: 15px;
font-weight: 600;
letter-spacing: 2px;
text-transform: uppercase;
padding: 11px 13px;
text-decoration: none;
border-radius: 0px;
border: 0px solid;
cursor: pointer;
}
.buttom-sticky a:hover {
background-color: #387AB1 !important;
text-decoration: none;
}*/
/*posiciones de los botones por su ID*/
#side-btn{
bottom: 20px;
right: 20px;
/*transform: rotate(-90deg) !important;*/
}

/* Fons del pop-up */
#novetats-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Contingut */
#novetats-popup-content {
  background: #fff;
  padding: 15px;
  /*border-radius: 12px;*/
  max-width: 500px;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 25px rgba(0,0,0,0.3);
  animation: popupFade 0.5s ease;
}

#novetats-popup-content-interior{
  background: #265b11;
  padding: 20px;
}

#novetats-popup-content h2, #novetats-popup-content p {
  color:#fff;	
}

#novetats-popup-content h2 {
  font-size:14px;
  /*font-weight: bold !important;*/
  margin-top:15px;
  margin-bottom:5px;
}

#novetats-popup-content p {
  margin-bottom:25px;
}

#novetats-popup-content a {
	text-decoration:none;
}

@keyframes popupFade {
  from {transform: scale(0.8); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

/* Botó de tancament */
#novetats-popup-close {
  position: absolute;
  top: 13px;
  right: 18px;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
}

/* Botó d’acció */
.btn-popup {
  display: inline-block;
  /*margin-top: 15px;*/
  padding: 10px 20px;
  background: #0073e6;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
}

.btn-popup:hover {
  background: #d81d23;
}

/* Contenidor dels botons */
.popup-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap; /* permet que facin salt de línia en pantalles petites */
}

/* Botons */
.btn-popup {
  flex: 1; /* fa que tinguin la mateixa amplada */
  min-width: 120px;
  padding: 12px 20px;
  text-align: center;
  background: #d81d23;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s, transform 0.2s;
  font-weight: 500;
}

.btn-popup:hover {
  background: #a32f1e;
  /*transform: translateY(-2px);*/
}

/* Responsive: en mòbil els botons un sota l’altre */
@media (max-width: 480px) {
  .popup-buttons {
    flex-direction: column;
  }
}


