/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
/*--------------------------------------------------------------
## estilos generales
--------------------------------------------------------------*/

/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

.sin-margen {
	margin:  0 !important;
}

.sin-padding {
	padding: 30px !important;
}

h2 {
	font-weight: 500;
	text-align: center;
}

h2::after {
  content: ".";
  font-family: arial;
  font-size: 50px;
  margin-right: 3px;
}

.wp-block-column.is-vertically-aligned-bottom, .wp-block-column.is-vertically-aligned-center, .wp-block-column.is-vertically-aligned-top {
	margin: 0;
}


/*--------------------------------------------------------------
## estilos MENÚ
--------------------------------------------------------------*/
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
	font-weight: 700;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a::before {
  content: "▪︎";
  margin-right: 3px;
}

@media (min-width: 1100px) {
	.inside-header {
	    display: flex;
	    justify-content: space-between;
	    align-items: baseline;
	}
}

/*--------------------------------------------------------------
## estilos hero-sliders INICIO
--------------------------------------------------------------*/
/*.hero-sliders-container, .hero-sliders, .img-hero-sliders, .img-hero-sliders:before, .img-hero-sliders img, .wrap-hero-sliders {
	width: 100%;
	height: 60vh;
}
*/

.hero-sliders-container, .hero-sliders, .img-hero-sliders, .img-hero-sliders:before, .img-hero-sliders img, .wrap-hero-sliders {
	width: 100%;
	height: 400px;
}

.hero-sliders-container {
	margin: 0 auto;
}

.hero-sliders-container .slick-prev {
	left: 0px;
}

.hero-sliders-container .slick-next {
	right: 0px;
}

.hero-sliders-container .slick-next, .hero-sliders-container .slick-prev {
	width: 40px;
	height: 40px;
	right: 0px;
	top: 95%;
	padding: 5px;
	background-color: rgba(0,0,0,1);
}

.hero-sliders-container .slick-prev:before {
	content: "❮";
}

.hero-sliders-container .slick-next:before {
	content: "❯"
}

.hero-sliders-container .slick-prev:before, .hero-sliders-container .slick-next:before {
	color: #FFF;
	font-size: 30px;
	
}

.hero-sliders {
	position: relative;
}

.img-hero-sliders {
	position: absolute;
	top: 0;
	left: 0;
}

.img-hero-sliders:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	background-image: linear-gradient(
		90deg,
		rgba(0,0,0,.2),	
		rgba(0,0,0,.2)
	);

}

.img-hero-sliders img {
	object-fit: cover;
	object-position: center;
}

.wrap-hero-sliders {
	width: 100%;
	display: flex;
	flex-flow: column nowrap;
	justify-content: flex-end;
}

.box-hero-sliders {
	width: 100%;
	color: #fff;
	z-index: 2;
	align-self: top;
	
}

.box-hero-sliders h1 {
	text-align: center;
	font-size: 44px;
	margin: 0 0 20px;
	font-weight: 500;
}

.box-hero-sliders h1 sup {
	font-weight: 400;
}

.cta-hero-sliders {
	margin: 0;
	color: #000;
	background-color: rgba(255,255,255,.4);
}

.cta-hero-sliders h3 {
	font-size: 16px;
	margin: 0;
	padding: 10px 20px;
	padding-left: 50px;
	text-align: start;
	font-weight: 400;
}

.cta-hero-sliders h3 span {
	font-weight: 700;
}

.cta-hero-slider-special{
	display: flex;
	flex-flow: row nowrap;
	position: relative;
}

.cuadro {
	width: 39px;
	height: 39px;
	background-color: #000;
	position: absolute;
}

.cuadro-izquierdo {
	top: 0;
	left: 0;
}

.cuadro-derecho {
	top: 0;
	right: 0;
}

/*
.cta-hero-sliders .button-hero-sliders {
	font-size: 16px;
	color: #fff;
	background-color: #084e7a;
	padding: 10px 50px;
	border-radius: 50px;
	text-decoration: none;
}

.cta-hero-sliders .button-hero-sliders:hover {	
	color: #fff;
	background-color: #333;

}
*/

@media (max-width: 767px) {
	.box-hero-sliders h1 {
		font-size: 30px;
	}
}

@media (max-width: 575.98px) {
	.box-hero-sliders h1 {
		font-size: 24px;
	}
	.cta-hero-sliders h3 {
		font-size: 12px;
		padding: 13px 20px;
		padding-left: 50px;
	}
}

/*--------------------------------------------------------------
## estilos portafolio
--------------------------------------------------------------*/

.contenido-trabajos { 
	display: flex;
	flex-flow: row wrap;
	width: 100%;
	/*max-width: 1200px;*/

}

.contenido-trabajos-hijos {
	box-sizing: border-box;
	width: 20%;
	height: 300px;
	padding: 5px;
}

.contenido-trabajos-hijos:nth-child(11n-2), .contenido-trabajos-hijos:nth-child(11n-10) {
  width: 40% !important;
}

.contenido-trabajos-hijos:nth-child(11n-4) {
  width: 60% !important;
}

.contenido-trabajos:last-child {
	width: 100%;
	}

.trabajo {
	width: 100% !important;
	height: 100% !important;
}

.trabajo img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
}

/*
.contenido-trabajos-hijos {
  flex: auto;
  height: 300px;
  min-width: 150px;
  margin: 0 8px 8px 0; 
}

.contenido-trabajos-hijos a {
	height: 100%;
	width: 100%;
}

.contenido-trabajos-hijos a img {
	object-fit: cover;
	object-position: center;
}

.contenido-trabajos-hijos:nth-child(11n), .contenido-trabajos-hijos:nth-child(11n-1), .contenido-trabajos-hijos:nth-child(11n-4), .contenido-trabajos-hijos:nth-child(11n-10) {
  width: 40%;
}

*/

@media (max-width: 767.98px) {
	.contenido-trabajos-hijos, .contenido-trabajos-hijos:nth-child(11n-2), .contenido-trabajos-hijos:nth-child(11n-10),.contenido-trabajos-hijos:nth-child(11n-4)  {
		width: 50% !important;
	}
	.contenido-trabajos-hijos:nth-child(11n) {
		width: 100% !important;
	}
}

@media (max-width: 575.98px) {
	.contenido-trabajos-hijos, .contenido-trabajos-hijos:nth-child(11n-2), .contenido-trabajos-hijos:nth-child(11n-10),.contenido-trabajos-hijos:nth-child(11n-4)  {
		width: 100% !important;
	}
	.contenido-trabajos-hijos:nth-child(11n) {
		width: 100% !important;
	}
}

/*--------------------------------------------------------------
## estilos portafolio modal
--------------------------------------------------------------*/
.blocker {
	z-index: 999999 !important;
}

.modal {
	z-index: 9999999 !important;
}

.contenedor-modal-portafolio {
	max-width: 1000px !important;
	background-color: #000 !important;
}

.contenido-fotos-trabajos img {
	width: 100% !important;
	height: 400px !important;
	border-right: 5px solid #000;
	object-fit: cover;
	object-position: center;
}

.informacion-de-trabajo-modal {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 15px;
}

.ficha-tecnica-trabajo-modal p {
	color: #fff;
	font-size: 13px;
	margin: 0;
	padding: 0;
}

.boton-contacto-modal button {
	background-color: #000;
	border: 2px solid #fff;
	padding: 5px 10px;
	margin: 0;
}

.boton-contacto-modal button a {
	color: #fff;
	font-size: 12px;
}

@media (max-width: 767.98px) {
	.informacion-de-trabajo-modal {
		flex-flow: column;
	}
	.boton-contacto-modal button {
		margin-top: 20px;
	}
}

/*--------------------------------------------------------------
## estilos Páginación Portafolio
--------------------------------------------------------------*/

.paginacion-portafolio {
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: center;
	margin-bottom: 30px !important;

}

.paginacion-portafolio .next, .paginacion-portafolio .prev {
	display: none;
}

.paginacion-portafolio a, .paginacion-portafolio span {
	color: #fff;
	width: 25px;
	height: 25px;
	font-size: 14px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 2px;

}

.paginacion-portafolio span {
	background-color: #000;
}

.paginacion-portafolio a {
	background-color: #878787;
}

.paginacion-portafolio a:hover {
	background-color: #000;

}

/*--------------------------------------------------------------
## estilos trabajos home
--------------------------------------------------------------*/

.categorias-trabajos-home {
	width: 90%;
	max-width: 1200px;
	margin: 40px auto;
}

.trabajos-home {
	display: flex;
	flex-flow: row nowrap;
	line-height: 0;
	box-sizing: border-box;
}

.trabajos-home span {
	font-weight: 700;
}

.trabajos-home-izquierda, .trabajos-home-derecha {
	width: 50%;
}

.trabajos-home-derecha-sub {
	display: flex;
	flex-flow: row nowrap;	
}

.categoria-1, .categoria-2, .categoria-3, .categoria-4, .categoria-5 {
	padding: 5px;
	position: relative;
	cursor: pointer;
}

.categoria-1 h3, .categoria-2 h3, .categoria-3 h3, .categoria-4 h3, .categoria-5 h3 {
	position: absolute;
	top: 0;
	left: 5px;
	margin: 20px 0 0 0;
	padding: 5px 5px 5px 30px;
	background-color: #000;
	color: #fff;
	font-size: 14px;
	}

.categoria-1 img {
	padding: 0;
	margin: 0;
	width: 100%;
	height: 200px;
	object-fit: cover;
	object-position: center;
}

.categoria-2 img, .categoria-3 img {
	padding: 0;
	margin: 0;
	width: 100%;
	height: 400px;
	object-fit: cover;
	object-position: center;
}

.categoria-4 img, .categoria-5 img {
	padding: 0;
	margin: 0;
	width: 100%;
	height: 200px;
	object-fit: cover;
	object-position: center;
}

.categoria-4, .categoria-5 {
	width: 50%;
}

.trabajos-home-detalle-hover {
	position: absolute;
	top: 0;
	height: 100%;
    width: 100%;
	background-color: #fff;
	border: 1px solid #000;
	line-height: 1.5;
	filter: alpha(opacity=0);
	opacity: 0;
	padding: 20px;
	box-sizing: border-box;
}

.trabajos-home-detalle-hover a {
	position: absolute;
	bottom: 3px;
	right: 3px;
	color: #000;
	font-size: 50px;
	padding: 0;
	margin: 0;
}

.trabajos-home-detalle-hover:hover {
	filter: alpha(opacity=1);
	opacity: 1;
}

@media (max-width: 900px) {
	.trabajos-home {
	    flex-flow: column nowrap;
	}
	.trabajos-home-izquierda, .trabajos-home-derecha {
	width: 100%;
	}
	.categoria-2 img, .categoria-3 img {
	height: 200px;
	}
	.trabajos-home-derecha-sub {
	flex-flow: column nowrap;	
	}
	.categoria-4, .categoria-5 {
	width: 100%;
	}
}



/*--------------------------------------------------------------
# estilos parallax
--------------------------------------------------------------*/
.partner-fyrma h2 {
	padding: 50px 0 10px 0;
}

.parallax{
	box-sizing: border-box;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    width: 100%;
    padding: 100px;
}
.parallax-content{
	width: 90%;
	max-width: 1200px;
	position: relative;
	margin: 0 auto;
}
.testimonios-fyrma {
	background: #ffffff;
	padding: 30px;
}



.contenido-testimonio-fyrma {
	display: flex !important;
	flex-flow: row wrap;
	justify-content: center;
}
.imagen-testimonio-fyrma {
	width: 150px !important;
	height: 150px !important;
	padding: 5px;
	border-radius: 100%;
	border: 1px solid #000;
}
.datos-testimonio-fyrma {
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	width: 30%;
	text-align: end;
	padding: 20px;
}
.datos-testimonio-fyrma h4 {

	font-weight: 700;
	padding: 0;
	margin: 0;
}
.datos-testimonio-fyrma p {
	padding: 0;
	margin: 0;
	font-size: 12px;
}

.datos-testimonio-fyrma__empresa {
	font-weight: 700;	
}

.texto-testimonio-fyrma {
	display: flex;
	align-items: center;
	width: 50%;
}
.texto-testimonio-fyrma p {
	padding: 0;
	margin: 0;
}
.imagen-testimonio-fyrma img {
	border-radius: 100%;
	object-fit: cover;
	object-position: center;
}



.contenido-logotipos-empresas {
	filter: grayscale(100%);
}
.contenido-logotipos-empresas:hover {
	filter: grayscale(1%);
}
/*




.datos-testimonio-fyrma {
	width: 30%;
	padding: 10px;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	flex-flow: column nowrap;
}

.datos-testimonio-fyrma p, .datos-testimonio-fyrma h4, .texto-testimonio-fyrma p {
	padding: 0;
	margin: 0;
	text-align: end;
}



.texto-testimonio-fyrma {
	padding: 10px;
	width: 50%;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
}

*/


@media (max-width: 1100px) {
	.texto-testimonio-fyrma {
		width: 100%;
	}
	.datos-testimonio-fyrma {
		width: 70%;
	} 
	.texto-testimonio-fyrma p {
		margin-top: 20px;
		margin-bottom: 30px;
	}  
}

@media (max-width: 767.98px) {
    .parallax {
        padding: 20px 5px;
    }
	.datos-testimonio-fyrma {
		width: 100%;
	} 
}



/*--------------------------------------------------------------
# estilos menú especial interior
--------------------------------------------------------------*/

.menu-especial-interior ul {
	width: 100%;
	display: flex;
	margin: 0;
}

.menu-especial-interior ul li {
	width: 25%;
	display: flex;
	align-items: center;
	list-style: none;
	color: #000;
	border: 1px solid #000;
}

.menu-especial-interior ul li a{
	color: #000;
	padding: 5px;
	width: 100%;
	font-size: 14px;
}

.menu-especial-interior ul li:hover{
	background-color: #000;
}

.menu-especial-interior ul li:hover a { 
	color: #fff;
}

.menu-especial-interior .current-menu-item{
	background-color: #000;
	color: #fff;
}

.menu-especial-interior .current-menu-item a{
	color: #fff;
}


.menu-especial-interior ul li span {
	font-weight: 700;
}

@media (max-width: 767px) {
	.menu-especial-interior ul {
		flex-flow: column nowrap;
	}
	.menu-especial-interior ul li {
		width: 100%;
	}
}

/*--------------------------------------------------------------
# estilos botón de contacto footer
--------------------------------------------------------------*/

.contenedor-informacion-fyrma {
	background-color: #000;
	color: #fff;
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	
}

.informacion-fyrma {
	width: 33%;
}

.informacion-fyrma-columna-1 {
	padding: 20px;
}

.informacion-fyrma-columna-1-interior {
	display: flex;
	align-items: center;
}

.informacion-fyrma-columna-1-interior i {
	margin: 0 10px 0 0;
	padding: 0;
	width: 20px;
}

.informacion-fyrma-columna-1-interior p {
	margin: 0;
	padding: 0;
}

.informacion-fyrma-columna-1-interior a {
	color: #fff;
}

.informacion-fyrma-columna-2 {
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.informacion-fyrma-columna-2 a {
	color: #fff;
}

.informacion-fyrma-columna-3 {
	display: flex;
	justify-content: center;
	align-items: center;
}

.informacion-fyrma-columna-3 a {
	color: #fff;
	padding: 5px;
}

.informacion-fyrma-columna-3 a:hover {
	color: #006ba7;
}

.informacion-fyrma-columna-3 i {
	font-size: 40px;
}

@media (max-width: 767px) {
	.contenedor-informacion-fyrma {
		flex-flow: column nowrap;

	}
	.informacion-fyrma {
		width: 100%;
	}
}

/*--------------------------------------------------------------
# estilos botón de contacto footer
--------------------------------------------------------------*/

.generate-back-to-top, .generate-back-to-top:visited {
	bottom: 50px;
}

.boton-contacto-footer {
	position: relative;
}

.boton-contacto-footer button {
	margin: 0;
	padding: 5px 0 0 0;
	position: fixed;
	bottom: 0;
	right: 30px;
	border-radius: 3px 3px 0 0;
	background-color: rgba(0,0,0,.5);
	z-index: 1000;
}

.boton-contacto-footer button a {
	color: #fff;
	margin: 0;
	padding: 0;	
}

.boton-contacto-footer button a i {
	width: 38px;
	height: 38px;
	font-size: 25px;
	margin: 0;
	padding: 0;	
}

/*--------------------------------------------------------------
# estilos formularios
--------------------------------------------------------------*/
.formulario-contenedor {
	background-color: #000;
	padding: 20px;
}

.formulario-items {
	max-width: 80%;
	margin: 0 auto;
}

.formulario-items input {
	margin: 3px 0;
	width: 100%;
}

.formulario-items textarea {
	margin: 3px 0;
}

div.wpcf7 input[type="file"] {
	background-color: #fff;
	padding: 3px;
}

input[type="submit"] {
	background-color: #ffffff;
	color: #000;
	border-radius: 5px;
	max-width: 50%;
}

/*--------------------------------------------------------------
# estilos botón de contacto footer - modal
--------------------------------------------------------------*/

#btn_contacto {
	background-color: #000;
}

.modal .formulario-items {
	max-width: 100%;
}

/*--------------------------------------------------------------
# estilos menú especial interior
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## video nosotros
--------------------------------------------------------------*/

.video-nosotros {
	max-width: 700px;
	margin: 0 auto;
}

/*--------------------------------------------------------------
## boton wibai
--------------------------------------------------------------*/

.cotiza-online-wibai {
	float: right;
}

/*--------------------------------------------------------------
## boton wibai
--------------------------------------------------------------*/

@media (max-width: 767px) {
	.columna-contenidos {
		display: block;
	}
	.columna-contenidos p {
		margin-top: 1.5em;
	}
	.imagen-destacada-interior {
		display: none;
	}
}

/*--------------------------------------------------------------
## sostenibilidad
--------------------------------------------------------------*/
.contenido-sostenibilidad {
	display: flex;
}

@media (max-width: 767px) {
	.contenido-sostenibilidad {
		flex-flow: column wrap;
	}
	.contenido-sostenibilidad-inverso {
		flex-flow: column-reverse wrap;
	}

}


