/*
Theme Name: Impact Hub Barcelona
Theme URI: https://barcelona.impacthub.net
Version: 1.0
Description: Custom theme based on Beaver Builder theme.
Author: Impact Hub Barcelona
Author URI: https://barcelona.impacthub.net
template: bb-theme
*/

.fl-logo-img {
	max-width: 180px;
}

.fl-page-header-logo-col {
	width: 20%;
}

.fl-page-nav-col {
	width: 80%;
}

/* MARQUEE */

.marquee {
  width: 100%;
  height: 100px;
  overflow: hidden;
}

.marquee li {
  font-size: 50px;
	margin-right: 60px;
	font-weight: bold
}

.marquee__content {
  display: flex;
  list-style: none;
  animation: scrolling 20s linear infinite;
}

.marquee__item {
  flex-shrink: 0;
}


@keyframes scrolling {
  0% { transform: translateX(0) }
  100% { transform: translateX(-100%) }
}


@media only screen and (max-width: 468px) {

.marquee__content {
  animation: scrolling 5s linear infinite;
}

}

/* Gravity forms */
.gform_button {
	background: #1c395c !important;
	padding: 12px 24px !important;
	border-radius: 50px !important;	
}

/* Campos de texto, email, teléfono, etc. */
body .gform_wrapper input[type="text"],
body .gform_wrapper input[type="email"],
body .gform_wrapper input[type="url"],
body .gform_wrapper input[type="tel"],
body .gform_wrapper input[type="number"],
body .gform_wrapper input[type="password"],
body .gform_wrapper input[type="search"]{
  border-radius: 50px !important;
}

body .gform_wrapper textarea,
body .gform_wrapper select {
  border-radius: 15px !important;
}

/* Botones */
body .gform_wrapper .gform_button,
body .gform_wrapper .gform_footer input[type="submit"],
body .gform_wrapper .gform_footer button {
  border-radius: 50px !important;
}

/* Campos “file upload” */
body .gform_wrapper input[type="file"] {
  border-radius: 15px !important;
}

/* Campos tipo radio y checkbox (los contenedores) */
body .gform_wrapper .gfield_radio li label,
body .gform_wrapper .gfield_checkbox li label {
  border-radius: 15px;
}

/* hs de la home */

.estilo-boton {
  display: inline-block;
  padding: 1px 24px;
  border: 1px solid #333;
  border-radius: 50px;
  text-align: center;
  margin: 0 auto;
}

/* Contenedor directo de la imagen */
.fl-callout-photo .fl-photo-content {
  position: relative;
  overflow: hidden;
}

/* Degradado oscuro en la parte inferior */
.fl-callout-photo .fl-photo-content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%; /* ajusta según la fuerza del degradado */
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
  pointer-events: none; 
}

/* Cajas proyecto */

.caja-proyecto {
  position: relative;
  border: 1px solid #333;
  border-radius: 15px;
  padding: 25px 20px 20px; 
  text-align: center;
  display: inline-block; 
}

.titulo-proyecto {
  position: absolute;
  top: -14px; /* ajusta según el tamaño del texto */
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 4px 16px;
  border: 1px solid #333;
  border-radius: 50px;
  font-weight: 600;
  white-space: nowrap;
	font-size: 18px;
}

.caja-proyecto h3 {
	font-size: 18px;
}