f/*
 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
*/


.hide {
	display: none;
}
/* Logo Header */
.main-navigation .navigation-branding img {
    height: 100px;
}

/* HERO */
.page-hero {
    position: relative;
}

.page-hero .shape-divider-bottom svg {
    vertical-align: bottom;
}

.page-hero .shape-divider-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
}
.page-hero .n2-section-smartslider {
    z-index: 1;
}
.page-hero .hero-post-title {
    font-size: 30px;
    font-weight: bold;
	width: 80%;
	margin: auto;
}

.page-hero .hero-post-title h1 {
	font-style: normal;
	font-weight: 500;
	font-size: 48px;
	line-height: 72px;
	text-align: center;
	letter-spacing: 0.2px;
	color: #04439a;	
	
}

@media (max-width: 575px) {
	.page-hero {
		padding-left: 0;
		padding-right: 0;
	}
	.page-hero .hero-post-title h1 {
		font-size: 8vw;
		line-height: normal;
	}
	.page-hero .hero-search {
		padding: 15px;
	}	
}

/* Hero Productos */
.hero-post-title .products-img {
	display: block;
	max-width: 100%;
	width: 450px;
	height: auto;
	margin: 0 auto;	
}


.hero-post-title .products-intro-paper {
	font-family: 'Poppins';
    color: #04439a;
    font-size: 18px;
    text-shadow: none;
    line-height: 1.5;
    font-style: normal;
    text-decoration: none;
    text-align: center;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    font-weight: 400;
}
.hero-post-title .products-intro-paper p {
	max-width: 500px;
	display: block;
	margin: 0 auto;	
}

.page-id-863 .page-hero .hero-post-title .products-intro-paper,
.page-id-864 .page-hero .hero-post-title .products-intro-paper {
	color: #ffffff;
    text-shadow: 1px 0px 8px RGBA(0,0,0,0.8);
}

.page-id-863 .hero-post-title img.products-img,
.page-id-864 .hero-post-title img.products-img {
	-webkit-filter: drop-shadow(1px 0px 8px RGBA(0,0,0,0.8));
	filter: drop-shadow(1px 0px 8px RGBA(0,0,0,0.8));
}

/*
 * Listas
 */
ol, ul {
    margin: 0 0 1.5em 1.5em;
}
@media (max-width: 768px) {
	ol, ul {
		margin: 0 0 0 0.5em;
	}	
}

/*
.archive .hero-post-title h1,
*/
.home .page-hero::before {
    background: none;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 25.57%, rgba(255, 255, 255, 0) 78.23%);
}
/*
.page-id-863 .page-hero::before,
.page-id-864 .page-hero::before {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 5.57%, rgba(255, 255, 255, 0) 60.23%) !important;
}
*/
.page-id-863 .page-hero .hero-post-title h1,
.page-id-864 .page-hero .hero-post-title h1 {
	text-shadow: 1px 0px 8px RGBA(255,255,255,0.8);
}

.page-hero .hero-post-title {
	position: relative;
}

.single-post .hero-post-title h1 {
	color: #FFFFFF;
	text-shadow: 1px 0px 5px RGBA(0,0,0,1);
}
.page-hero .hero-post-date {
	text-align: center;
	color: #FFFFFF;	
	text-shadow: 1px 0px 5px RGBA(0,0,0,1);
	position: relative;
}
.page-hero .hero-search {
	text-align: center;
	position: relative;
	/*
	margin: 0 150px;
	background-color: #fff;
	border-radius: 6px;
	padding: 5px;
	*/
}
.page-hero .hero-search .search-form .search-field {
	padding: 10px 25px;
	border-radius: 6px;
}

.page-hero .hero-search .search-form .search-submit {
	background-color: #04439a;
	border-color: #04439a;
	border-radius: 6px;
	padding: 10px 25px;
	box-shadow: 0px 2px 10px rgba(21, 37, 72, 0.3);
}
.page-hero .hero-search .search-form .search-submit:hover {
    color: #10243e;
    background-color: #ffffff;
    border-color: #ffffff;
}
/*
*/
.fondo-menu-hero {
	position: absolute;
	width: 100%;
	height: auto;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 25.57%, rgba(255, 255, 255, 0) 78.23%);
	top: 0;
	bottom: 0;
	left: 0;
}
@media (max-width: 768px) {
	.page-hero .n2-ss-control-bullet {
		bottom: auto !important;
	}
}

@media (max-width: 575px) {
	.page-hero .hero-search .search-form .search-submit {
		margin-top: 5px;
	}
}

/* Menú */

.sf-menu .wpml-ls-item {
	float: right !important;
	margin-left: 50px;
}

/* Menu bar lang switcher */
.main-navigation .menu-bar-items {
    padding-left: 50px;
}
.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
  padding-right: 0;
}
.main-navigation .menu-bar-items .search-item,
.main-navigation .menu-bar-items .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle::after {
    color: #43A6FF;
}
.menu-bar-items .lang-item {
	order: 1;
}
.menu-bar-items .lang-item .wpml-ls-legacy-dropdown,
.menu-bar-items .lang-item  ul ul {
	width: 55px;
}
.menu-bar-items .lang-item .wpml-ls-legacy-dropdown a {
	border: none;
	background-color: transparent;
}

.menu-item-has-children .dropdown-menu-toggle {
    padding-left: 2px;
}

#mobile-menu ul li a {
    line-height: 30px;
}

@media (max-width: 1060px) {
	.menu-bar-items .lang-item ul {
		display: inline !important;
	}
}

@media (max-width: 1120px) and (min-width:blopx) {
	.main-navigation .menu-bar-items {
		padding-left: 10px;
	}	
}

/* SubMenu */
ul.sub-menu {
	border-radius: 12px;
}
.sub-menu .menu-item {
	padding-left: 30px;
}

#mobile-menu ul.sub-menu.toggled-on {
	border-radius: 0px;
}
#mobile-menu .sub-menu.toggled-on .menu-item {
	padding-left: 15px;
}

#mobile-menu .sub-menu.toggled-on .menu-item a {
	padding: 0 5px;
}

/* Home */
.round-background {
	border-radius: 16px;
}
.btn-shadow .uagb-buttons-repeater {
	box-shadow: 0px 2px 10px rgba(21, 37, 72, 0.3);
}

.btn-blue .uagb-buttons-repeater:hover .uagb-button__icon {
	color: #10243E;
}
.btn-white .uagb-buttons-repeater:hover .uagb-button__icon {
	color: #ffffff;
}
/*
.home-posts-block article {
	box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.06);
	border-radius: 12px;	
}

.home-posts-block .uagb-post__image {
    margin-left: -30px !important;
    margin-right: -30px !important;
}
*/

.home-posts-block .uagb-post__inner-wrap {
	box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.06);
	border-radius: 12px;
}

.home-posts-block .uagb-post__image img {
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
}
.home-posts-block .uagb-post__date {
    font-size: 15px;
    line-height: 24px;
    color: #43A6FF;
}
.home-posts-block .uagb-post__title {
	font-style: normal;
	font-weight: 600;
	font-size: 20px;
	line-height: 34px;	
}
.home-posts-block .entry-summary {
    font-style: normal;
    font-weight: normal;
    font-size: 17px;
    line-height: 32px;
}
.home-posts-block .wp-block-button {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
	text-transform: uppercase;
}
.home-posts-block .wp-block-button a {
    color: #04439a;
}
.home-posts-block .wp-block-button a:hover {
    color: #3768ad;
}
.home-posts-block a.wp-block-button__link:not(.has-background) {
    background-color: transparent;
	padding: 0;
}

/* PLANTA ERRENTERIA */

.page-id-1242 .hero-post-title h1,
.page-id-1383 .hero-post-title h1 {
	color: #fff;
	text-shadow: 1px 0px 5px RGBA(0,0,0,0.5);
}

.card-maquina {
	box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.06);
}
.card-maquina-datos .wp-block-columns {
	margin-bottom: 0;
}

.card-maquina-name,
.card-maquina-datos,
.card-maquina-tipo {
	padding: 20px;
}

@media screen and (max-width: 768px) {
	.puntos-factoria {
		margin-bottom: 5px !important;
	}
	.card-maquina-datos img {
		width: 100%;
		max-width: 400px !important;
	}
	.card-maquina-image img {
		width: 100%;
	}
}

.page-subtitle {
	line-height: 50px;
}
.page-subtitle-line-01 {
	font-size: 46px;
}
.page-subtitle-line-02 {
	font-size: 72px;
}

@media screen and (max-width: 1090px) and (min-width: 765px) {
	.page-subtitle {
		line-height: 30px;
	}	
	.page-subtitle-line-01 {
		font-size: 30px;
	}	
	.page-subtitle-line-02 {
		font-size: 45px;
	}	
}

@media screen and (max-width: 450px) {
	.page-subtitle {
		line-height: 30px;
	}	
	.page-subtitle-line-01 {
		font-size: 30px;
	}	
	.page-subtitle-line-02 {
		font-size: 45px;
	}	
}

/* HISTORIA > TIMELINE */

.page-id-1362 .hero-post-title h1,
.page-id-1377 .hero-post-title h1 {
	text-shadow: 1px 0px 5px RGBA(255,255,255,0.5);
}

@media screen and (max-width: 450px) {
	.historia-subtitle {
		font-size: 30px;
	}
}

/* LASTS POSTS WP Show Posts */

.wp-show-posts-image img {
	border-radius: 8px;
}
.wp-show-posts-entry-title {
	font-style: normal;
	font-weight: 600;
	font-size: 20px;
	line-height: 34px;
	color: #183B56;
}
.wp-show-posts-entry-title a {
	color: #183B56;
}
.wp-show-posts-entry-summary {
	font-family: Poppins;
	font-style: normal;
	font-weight: normal;
	font-size: 17px;
	line-height: 32px;
	color: #5A7184;
}
.wp-show-posts-read-more {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
	text-transform: uppercase;
}
a.wp-show-posts-read-more,
a.wp-show-posts-read-more:visited {
    color: #04439a;
	border: none;
	padding: 0;
}
a.wp-show-posts-read-more:hover,
a.wp-show-posts-read-more:focus {
    color: #3768ad;
	border: none;
	background: transparent;
}
#wpsp-219 .wp-show-posts-inner {
	position: relative;
}
#wpsp-219 .wp-show-posts-image {
	width: 50%;
	float: left;
	margin-bottom: 0;
}
#wpsp-219 .wp-show-posts-entry-header {
	width: 50%;
	float: right;
	padding-left: 30px;
	display: flex;
	flex-direction: column;
}
#wpsp-219 .wpsp-read-more {
	position: absolute;
	padding-left: 30px;
	bottom: 0;
}
#wpsp-219 .wp-show-posts-entry-meta {
  order: -1;
}
#wpsp-219 .wp-show-posts-entry-date {
	text-transform: uppercase;
	font-style: normal;
	font-weight: normal;
	font-size: 15px;
	line-height: 24px;
	color: #5A7184;	
}
/*
@media(min-width:769px){
	#wpsp-219 .wp-show-posts-inner {
		flex-direction: row;
		display: flex;
	}
	#wpsp-219 .wp-show-posts-image.wpsp-image-center {
		flex: 1 1 50%;
	}
	#wpsp-219 .wpsp-content-wrap {
		flex: 1 1 50%;
	}
}
*/

/* Enlaces */
.page-id-297 h2,
.page-id-537 h2 {
	font-size: 1.7rem;
}

@media (max-width: 1006px) and (min-width:768px) {
	.page-id-297 h2,
	.page-id-537 h2 {
    	font-size: 1.2rem;
		font-weight: 500;
	}
	.page-id-297 h4,
	.page-id-537 h4 {
		font-size: 19papx;
	}
}

/* Contacto */
.map-col {
	border-radius: 6px;
}
.dir-title {
	font-style: normal;
	font-weight: 600;
	line-height: 32px;	
}
.dir-desc {
	font-style: normal;
	font-weight: normal;
}
.dir-gps {}
.dir-tel {
	color: #04439a;
	font-size: 1.7rem;
}

@media (max-width: 950px) {
	.dir-tel {
		font-size: 1.3rem;
	}
}
.mp5 {
    margin-left: 6px;
}

@media (max-width: 886px) and (min-width:768px) {
	.mp5 {
		margin-left: 0px;
	}
}
@media (max-width: 462px) {
	.mp5 {
		margin-left: 0px;
	}
}
@media (max-width: 900px) {
	.dir-title {
		font-size: 1em;
	}
}

.wpcf7-submit {
	box-shadow: 0px 2px 10px rgba(21, 37, 72, 0.3);
}
.wpcf7-form .legal {
    background-color: #f5f5f5;
    padding: 15px;
    margin: 0 0 15px 0;
    border-radius: 6px;
    font-size: smaller;
}

/* Blog / Archive */

.blog .inside-article,
.archive .inside-article {
	box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.06);
	border-radius: 12px;
	padding: 40px 20px;
	position: relative;
}
.blog .wp-post-image,
.archive .wp-post-image {
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
}
.blog .no-featured-image-padding .post-image,
.archive .no-featured-image-padding .post-image {
    margin-left: -20px;
    margin-right: -20px;
}
.blog.post-image-above-header .inside-article .post-image,
.archive.post-image-above-header .inside-article .post-image {
    margin-bottom: 1em;
}
.entry-summary:not(:first-child) {
    margin-top: 1em;
}
.blog .entry-title, 
.archive .entry-title {
	font-style: normal;
	font-weight: 600;
	font-size: 20px;
	line-height: 34px;
}
.blog .entry-summary, 
.archive .entry-summary {
	font-style: normal;
	font-weight: normal;
	font-size: 17px;
	line-height: 32px;	
}
.postcard-meta {
	text-transform: uppercase;
	font-style: normal;
	font-weight: normal;
	position: absolute;
	bottom: 20px;
	width: 90%;	
}
@media(max-width:768px){
	.postcard-meta {
		width: 93%;	
	}		
}
.postcard-meta .leermas {
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	float: left;
}
.postcard-meta .fecha {
	font-size: 15px;
	line-height: 24px;	
	color: #43A6FF;
	float: right;
}

@media(max-width:1024px){
	.blog .generate-columns-container,
	.archive .generate-columns-container {
		margin-left: 0px;
		margin-right: 20px;
	}
}
@media (max-width: 768px) {
	.blog .site-content, 
	.archive .site-content {
		padding-left: 20px;
		padding-right: 20px;		
	}
}

/* Single posts */

.single-post .inside-article,
.single-post .comments-area {
    max-width: 800px;
    margin: 0 auto;
}

/* Footer Widgets  */
.footer-widgets p {
	font-size: 15px;
	line-height: 24px;
}
.contact-info {
  width: 280px;
}
.contact-info ul {
  margin-left: -15px;
}
.contact-info ul li {
  list-style-type: none;
  display: flex;
}
.contact-info ul li i {
  margin-right: 10px;
	margin-top: 5px;
}
.contact-info ul li p {
  margin: 0;
}
.footer-social-icons {
    font-size: 20px;
    margin-left: -15px;
    margin-top: 5px;
}

.footer-widget-2 ul.menu {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}

.footer-menu-row {
  display: flex;
}

/* Create two equal columns that sits next to each other */
.footer-menu-column {
  flex: 50%;
}


/* Footer copyright-bar */
.copyright-bar {
	width: 100%;
	font-size: 12px;
	line-height: 18px;
}
.copyright-bar .flex-container {
    display: flex;
	flex-direction: row;
}

.copyright-bar .flex-item {
    width: 50%;
}
.copyright-bar .flex-item.left {
    text-align: left;
}
.copyright-bar .flex-item.right {
    text-align: right;
	align-self: self-end;
}

@media (max-width: 1024px) {
    .copyright-bar .flex-item {
        width: 50%;
    }
}

@media (max-width: 768px) {
	.copyright-bar {
		width: 100%;
	}	
	.copyright-bar .flex-container {
		 flex-direction: column;
	}
    .copyright-bar .flex-item {
        width: 100%;
    }
	.copyright-bar .flex-item.left,
	.copyright-bar .flex-item.right {
    text-align: center;
	}
}

/*
 * Banner cookies 
 */
#moove_gdpr_cookie_info_bar .mgbutton, 
.gdpr_lightbox-container .mgbutton {
	border-radius: 8px !important;	
}

/*
 * Tablas productos
 */

.texto-vertical {
	writing-mode: vertical-lr;
	transform: rotate(180deg);
}

.productos-lista-icono {
    font-size: 15px;
}

/*
 * Legal
 */
.page-id-33 .hero-post-title h1,
.page-id-35 .hero-post-title h1,
.page-id-544 .hero-post-title h1,
.page-id-546 .hero-post-title h1 {
	/*
	color: #fff;
	text-shadow: 1px 0px 5px RGBA(0,0,0,0.5);
	*/
	text-shadow: 1px 0px 5px RGBA(255,255,255,0.5);
}

/*
 * Sub menu Papeles Especiales
 */
.page-id-1667 .page-hero .hero-post-title .products-intro-paper,
.page-id-1690 .page-hero .hero-post-title .products-intro-paper {
	color: #ffffff;
    text-shadow: 1px 0px 8px RGBA(0,0,0,0.8);
}