/* RESPONSIVE */
/*MENÚ*/
#masthead .secondary-menu .row.mobile-menu {
    display: none;
}
#masthead .secondary-menu .row {
    height: initial;
    min-height: 60px;
}
header#masthead .row.menu-principal .column-5 {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

header#masthead .row.menu-principal #site-navigation {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 30px;
}

header#masthead  .row.menu-principal {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
}

header#masthead .row.menu-principal .column-7 {
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-content: center;
}

#masthead #area-clientes {
    margin: 0;
    line-height: 26px;
    display: flex;
    padding: 0;
    text-align: center;
    justify-content: center;
}

#masthead .btn-area-clientes {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 25px;
    max-width: 170px;
    width: 100%;
    text-align: center;
}

#masthead ul.social-networks {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    margin: 0 0 0 25px;
}

#masthead ul.social-networks li {
    padding: 5px 10px;
}

#masthead .buscador .search-form {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
}

#masthead .buscador .search-form button.search-submit {
    margin-left: 5px;
}

#masthead ul#primary-menu li a {
    color: #9cd5e2;
}

.logo-header img {
    max-width: 110px;
}

#masthead .secondary-menu ul li {
    width: initial;
    line-height: 1.2;
}
/*END MENÚ*/
/* FORM FOOTER */
#seccion_formulario .modulo-contacto {
    padding: 20px;
    padding-right: 0;
}
/* END FORM FOOTER */
/* FOOTER */
ul#menu-footer {
    padding-inline-start: 0;
    margin: 20px;
}
/* END FOOTER */
/* HOME */
#carrusel_principal .carousel .carousel-cell {
    width: 100%;
}

#carrusel_principal .carousel-cell .container .row {
    padding: 0 50px;
	justify-content: flex-start;
}
#carrusel_principal .carousel-cell .container .row h2{
	margin-top: 80px;
	font-size: 30px;
}
.boton-flotante{
	display: none;
}

#box_novedades .row .column-6 {
	display: flex;
	justify-content: center;
}
	
#box_novedades .box_news .row .column-6 {
	display: block;
}

.box_news .column-6:nth-child(1) {
    padding-right: 30px;
}

.box_news .column-6:nth-child(2) {
    padding-bottom: 10px;
}

#box_novedades .box_news h4 a {
    line-height: 1.2;
    font-weight: 800;
    margin: 20px 0;
}

#box_novedades .box_news a.btn {
    display: inline-block;
    text-transform: uppercase;
}
/* END HOME */
/* PÁGINA GENERAL */
.contenido .column-9 {
    padding-right: 20px;
}
/* END PÁGINA GENERAL */
/* PÁGINA SOLUCIONES */
.box_soluciones .column-10 {
    padding: 0 50px;
}
/* END PÁGINA SOLUCIONES */
/* PRODUCT MERCADO */
.box_productos_destacados {
    padding: 0 15px;
}

.box_productos_destacados img {
    width: 100%;
    max-width: 250px;
}

.modulo-busqueda p.subtitle {
    margin: 50px auto 20px;
}

.product-box .listado_iconos span {
    line-height: 1;
    padding: 5px 10px;
}

.product-box .lista-iconos {
    margin-bottom: 40px;
}
/* END PRODUCT MERCADO */
/*NOTICIAS*/
#box_noticias .box_news a.btn {
    bottom: 25px;
    padding: 7px 10px !important;
    width: 100%;
    max-width: 170px;
    text-align: center;
}

#box_noticias .box_news p {
    margin-bottom: 50px;
}

#box_noticias .box_news h4 a {
    margin-bottom: 0;
}

#box_noticias .row .column-6 {
    display: flex;
    justify-content: center;
}

#box_noticias .box_news .row .column-6 {
	display: block;
}

#box_noticias .row .box_news {
	min-height: initial;
}

#box_noticias .box_news .column-6:nth-child(1) {
    padding-right: 20px;
}

#box_noticias .box_news h4 a {
    line-height: 1.2;
    font-weight: 800;
    margin-top: 10px;
}
/*END NOTICIAS*/

@media (max-width: 1024px) {
	/*MENÚ*/
	main {
	    margin-top: 100px;
	}

	header#masthead .row.menu-principal {
	    height: 60px !important;
	}

	#masthead .btn-area-clientes,
	#masthead ul.social-networks{
	    margin-left: 10px;
	    max-width: 150px;
	}

	#masthead #area-clientes {
	    font-size: 10px;
	}

	#masthead ul.social-networks li {
	    padding: 5px;
	}

	#masthead .buscador input[type="search"] {
	    max-width: 150px;
	    font-size: 12px;
	}

	#masthead .buscador input[type="search"]::placeholder {
	    font-size: 12px;
	}

	#masthead ul#primary-menu li a {
	    font-size: 12px;
	}

	.logo-header img {
	    max-width: 90px;
	}

	#masthead #mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link,
	#masthead #mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-item > a.mega-menu-link,
	#masthead #mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item,
	#masthead #mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item {
	    font-size: 12px;
	}

	#masthead #mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
	#masthead #mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link,
	#masthead #mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link,
	#masthead #mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li > a,
	#masthead #mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-item > a.mega-menu-link {
	    height: 40px;
	}

	#masthead .secondary-menu .row {
	    min-height: 40px;
	}

	#masthead .mega-mercados-super-mega-menu .mega-sub-menu {
	    width: 100% !important;
	    left: 0 !important;
	}
	/*END MENÚ*/
	/* FOOTER */
	#menu-footer li {
	    padding: 10px;
	}
	/* END FOOTER */
	/* HOME */
	#carrusel_principal .carousel-cell {
	    height: 420px;
	}
	#carrusel_principal .carousel-cell .container .row {
	    padding: 0 50px;
	}

	#carrusel_principal .carousel-cell .container .row h2 {
	    line-height: 1.2;
	    font-size: 28px;
	}

	#carrusel_principal .carousel-cell .container .row .column-7, #carrusel_principal .carousel-cell .container .row .column-5 {
	    width: 50%;
	}

	#carrusel_principal .carousel-cell .container .row p {
	    line-height: 1.3;
	    font-size: 16px;
	}

	#carrusel_principal .carousel-cell .container .row a.btn {
	    padding: 15px;
	    width: 100%;
	    max-width: 260px;
	    text-align: center;
	    font-size: 16px;
	}
	#box_colores #colores_box .column-3 {
	    padding: 20px;
	}

	#box_colores #colores_box h4 a {
	    font-size: 18px;
	}

	.box_news .column-6:nth-child(1) {
	    padding-right: 20px;
	}

	.box_news .container {
	    width: 100%;
	}
	
	#box_novedades .box_news {
	    padding: 10px 15px;
	}
	/* END HOME */
	/* PÁGINA SOLUCIONES */
	.box_soluciones .column-10 {
	    padding: 0 30px;
	}
	/* END PÁGINA SOLUCIONES */
	/* PÁGINA CONTACTO */
	.mapa {
	    margin-top: 10px;
	    margin-bottom: 30px;
	}

	.lista_localizaciones .box {
	    padding: 10px 30px;
	}
	/* END PÁGINA CONTACTO */
	/* PRODUCT MERCADO */
	.page-mercado .header-page .container {
	    display: flex;
	    justify-content: center;
	    flex-direction: column;
	}
	
	.page-mercado .header-page .container h1 {
	    margin: 20px 0;
	}
	
	.page-mercado .header-page .container .row {
	    padding-bottom: 50px;
	}

	.box_productos_destacados {
	    padding: 0 15px;
	}

	.box_productos_destacados img {
	    max-width: 200px;
	}

	.page-mercado .contenido {
	    padding-bottom: 15px;
	}

	.modulo-busqueda p.subtitle:after {
	    right: -15%;
	}
	
	.modulo-busqueda p.subtitle:before {
	    left: -15%;
	}
	
	.modulo-busqueda p.subtitle {
	    overflow: hidden;
	    max-width: inherit;
	}

	.product-box .listado_iconos .column-3 {
	    width: 33.33%;
	}

	.product-box .bottom.align-bottom {width: initial;left: 50%;margin-left: -81px;}
	/* END PRODUCT MERCADO */
	/*NOTICIAS*/
	#box_noticias .box_news .column-6:nth-child(1) {
	    padding-right: 0px;
	}

	#box_noticias .box_news a.btn {
	    margin: 0;
	    max-width: 150px;
	}

	.single .contenido h1,
	.single .contenido h2,
	.single .contenido h3,
	.single .contenido h4,
	.single .contenido h5 {
	    line-height: 1.2;
	}

	.single .contenido p, .single .contenido li {
	    font-size: 14px;
	}

	.single.single-post h3 {
	    font-size: 20px;
	}
	/*END NOTICIAS*/
}

@media (max-width: 767px) {
	p, .single p, li {
	    font-size: 14px;
	}

	.header-page h1 {
	    font-size: 28px;
	    line-height: 1.2;
	}
	/*MENÚ*/
	#masthead .secondary-menu .row.mobile-menu {
	    display: block;
	}

	#masthead .secondary-menu .row.global-menu {
	    display: none;
	}

	#masthead .btn-area-clientes {
	    display: none;
	}

	header#masthead .row.menu-principal #site-navigation {
	    display: none;
	}

	header#masthead .row.menu-principal .column-5 {
	    justify-content: flex-start;
	}

	.secondary-menu .container {
	    width: 100%;
	}

	#mega-menu-wrap-mobile-menu .mega-menu-toggle {
	    padding: 0 15px;
	}

	.global-menu .mega-sub-menu {
	    display: none !important;
	}

	.mobile-menu .mega-sub-menu {
	    display: none !important;
	}

	.mobile-menu .mega-toggle-on .mega-sub-menu {
	    display: block !important;
	    width: 100% !important;
        left: 0 !important;
        background-color: #333333 !important;
	}

	.mobile-menu .mega-toggle-on .mega-sub-menu .mega-sub-menu {
	    display: none !important;
	}

	.mobile-menu .mega-toggle-on .mega-sub-menu .mega-toggle-on .mega-sub-menu {
	    display: block !important;
	}

	.mobile-menu #mega-menu-wrap-mobile-menu #mega-menu-mobile-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
	    background: #333333;
	    color: #fff;
	    padding: 0px 15px 0px 15px;
	    font-size: 12px;
	}

	.mobile-menu #mega-menu-wrap-mobile-menu #mega-menu-mobile-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item ul.mega-sub-menu {
	    top: auto;
	    overflow: scroll;
    	height: 250px;
	}

	/*END MENÚ*/
	/* FORM FOOTER */
	#seccion_formulario p, 
	#seccion_formulario .modulo-contacto .hs-form * {
	    font-size: 14px;
	}
	/* END FORM FOOTER */
	/* HOME */
	.flickity-prev-next-button .flickity-button-icon {
	    width: 35%;
	    height: 35%;
	    left: 32%;
	    top: 32%;
	}

	.flickity-prev-next-button {
	    width: 30px;
	    height: 30px;
	    border-radius: 100%;
	    font-size: 10px;
	}

	#carrusel_principal .carousel-cell .container .row a.btn {
	    margin-top: 10px;
	}

	#carrusel_principal .carousel-cell .container .row .column-7, #carrusel_principal .carousel-cell .container .row .column-5 {
	    width: 100%;
	}

	#carrusel_principal .carousel-cell .container .row {
	    flex-direction: column;
	    padding: 0 25px;
	}

	#carrusel_principal .carousel-cell {
	    height: 300px;
		min-height: 600px;
	}

	#carrusel_principal .carousel-cell .container .row h2 {
	    font-size: 24px;
	}

	#carrusel_principal .carousel-cell .container .row a.btn {
	    font-size: 14px;
	    max-width: 235px;
	    padding: 10px;
	}

	#carrusel_principal .carousel-cell:nth-child(1) .container .row h2 {
	    text-shadow: black 0em 0em 0.2em;
	}

	#carrusel_principal .carousel-cell .container .row p {
	    font-size: 14px;
	    text-shadow: black 0em 0em 0.2em;
	}

	#box_about .row,
	#box_projects .row,
	#box_trabaja .row {
	    display: flex;
	    flex-direction: column;
	    justify-content: center;
	    min-height: 300px;
	    padding: 50px 0;
	}

	#box_about .column-6 {
	    width: 100%;
	}

	#box_about .column-6:nth-child(2) {
	    display: none;
	}

	#box_about h1 {
	    font-size: 38px;
	}

	#box_projects .column-5 {
	    width: 100%;
	}

	#box_projects .column-7 {
	    display: none;
	}

	#box_projects h2, #box_colores h2, #box_trabaja h2, #box_novedades h2 {
	    font-size: 38px;
	}

	#box_projects p, #box_trabaja p {
	    font-size: 24px;
	    line-height: 30px;
	}

	#box_colores, #box_novedades {
	    padding: 50px 0;
	}

	#box_colores .column-3 {
	    display: none;
	}

	#box_colores .column-6 {
		width: 100%;
	}

	#box_colores p {
	    font-size: 14px;
	}

	#colores_box.row {
	    display: flex;
	}

    #box_colores #colores_box .column-3 {
        display: block;
        width: 50%;
        padding: 10px;
    }

	#box_colores #colores_box h4 a {
	    font-size: 16px;
	}

	#box_trabaja .column-6 {
	    width: 100%;
	}

	#box_novedades .column-6 {
	    width: 100%;
	}
	
	#box_novedades .box_news .column-6:nth-child(1) {
	    display: none;
	}

	#box_novedades h2 {
	    margin-bottom: 30px;
	}
	/* END HOME */
	/* PÁGINA GENERAL */
	.header-page h2 {
	    font-size: 28px;
	    line-height: 1.2;
	}

	.header-page .column-8,
	.header-page .column-7 {
	    width: 100%;
	    max-width: 490px;
	}

	.header-page .align-v-center {
	    align-self: center;
	}

	.contenido .column-9 {
	    padding: 0;
	    width: 100%;
	}
	
	.contenido .column-3 {
	    width: 100%;
	}
	
	.contenido .img-featured {
	    width: initial;
	}
	/* END PÁGINA GENERAL */
	/* PÁGINA SOLUCIONES */
	.box_soluciones .column-10 > .row > .column-4 {
	    width: 50%;
	    padding-right: 20px;
	}
	
	.box_soluciones .column-10 {
	    padding: 0 10px;
	    width: 75%;
	}
	
	.box_soluciones .column-2 {
	    width: 25%;
	}
	/* END PÁGINA SOLUCIONES */
	/* PÁGINA CONTACTO */
	.lista_localizaciones .box {
	    width: 100%;
	    padding: 10px;
	}

	.lista_localizaciones .box h3 {
	    font-size: 20px;
	}
	
	.lista_localizaciones .box p {
	    font-size: 18px;
	}
	/* END PÁGINA CONTACTO */
	/* PRODUCT MERCADO */
	.page-mercado .header-page .container h1 {
	    font-size: 28px;
	    line-height: 1.2;
	}

	.page-mercado .contenido h1 {
	    font-size: 24px;
	    line-height: 1.2;
	}
	
	.page-mercado .contenido .container h2, .page-mercado .contenido .container h3 {
	    line-height: 1.2;
	}

	.column-4.box_productos_destacados {
	    width: 100%;
	}
	
	.box_productos_destacados p {
	    margin-top: 0;
	}
	
	.box_productos_destacados img {
	    max-width: 250px;
	}

	.page-mercado .contenido .container h2 {
	    font-size: 24px;
	}

	.modulo-busqueda .propiedades label {
	    width: 50%;
	    font-size: 12px;
	}

	.modulo-busqueda p.subtitle:after {
	    right: -25%;
	}
	
	.modulo-busqueda p.subtitle:before {
	    left: -25%;
	}

	#listado_resultados .column-6 {
	    width: 100%;
	}
	/* END PRODUCT MERCADO */
	/* SERVICIO */
	.single-spgservicio .contenido h1 {
	    font-size: 24px;
	    line-height: 1.2;
	}

	.single-spgservicio .contenido .container h2 {
		font-size: 24px;
	}
	/* END SERVICIO */
	/*NOTICIAS*/
	#box_noticias .column-6 {
		width: 100%;
	}
		
	#box_noticias .box_news .column-6:nth-child(1) {
	    display: none;
	}

	.cabecera-noticias .container {
	    width: 95%;
	}
	/*END NOTICIAS*/	
}

@media (max-width: 480px) {
	/*MENU*/
	header#masthead .menu-principal .column-xs-6 {
	    width: 35%;
	    padding: 0;
	}

	header#masthead .row.menu-principal {
	    display: flex;
	}

	header#masthead .row.menu-principal .column-7 {
	    width: 65%;
	}

	.logo-header .custom-logo-link {
	    margin: 0;
	}

	#masthead ul.social-networks {
	    display: none;
	}

	#masthead .menu-principal .buscador {
	    display: flex;
	    flex-direction: column;
	    justify-content: center;
	}

	#masthead .buscador input[type="search"] {
	    height: 25px;
	    max-width: 130px;
	}

	#masthead .buscador .search-form button.search-submit {
	    height: 25px;
	    padding: 0 7px;
	    margin-left: 2px;
	}
	/*END MENU*/
	/* FORM FOOTER */	
	#seccion_formulario .modulo-contacto .hs-form .form-columns-1 .input {
	    width: 100%;
	}
	
	#seccion_formulario .modulo-contacto .hs-form .form-columns-2 .input, #seccion_formulario .modulo-contacto .hs-form .form-columns-3 .input {
	    margin: 0 !important;
	}
	
	#seccion_formulario .modulo-contacto {
	    padding: 5px;
	}

	#seccion_formulario .modulo-contacto .hs-form .hs-button {
	    width: 100%;
	}
	/* END FORM FOOTER */
	/*HOME*/
	#carrusel_principal .carousel-cell .container .row h2 {
	    font-size: 30px;
	}
	/*END HOME*/
	/* PÁGINA SOLUCIONES */
	.page-template-page-soluciones h1 {
	    text-align: center;
	}
	
	.box_soluciones {
	    margin-top: 50px;
	}
	
	.box_soluciones .column-2 {
	    width: 35%;
	    margin: auto;
	}
	
	.box_soluciones .column-10 {
	    width: 100%;
	    text-align: center;
	}
	
	.box_soluciones .column-10 > .row > .column-4 {
	    width: 100%;
	    padding: 0;
	}
	/* END PÁGINA SOLUCIONES */
	/* PRODUCT MERCADO */
	.modulo-busqueda .propiedades label {
	    width: 100%;
	}
	
	.modulo-busqueda .column-6 {
	    width: 100%;
	}
	
	.modulo-busqueda select#mercadop, .modulo-busqueda select#tipop {
	    max-width: 480px;
	    width: 100%;
	    margin-bottom: 20px;
	}

	.modulo-busqueda p.subtitle:after {
	    right: -30%;
	}
	
	.modulo-busqueda p.subtitle:before {
	    left: -30%;
	}

	.modulo-busqueda p.subtitle {
	    margin: 15px auto 20px;
	}

	#listado_resultados .row {
	    display: flex;
	}
	
	.product-box {
	    padding: 10px 15px 60px;
	    margin: 0px;
	}
	/* END PRODUCT MERCADO */
	/*NOTICIAS*/	
	.page-template-page-noticias .titulo {
	    padding-top: 20px;
	}

	#box_noticias .row .box_news {
	    margin: 15px 0px;
	}
	/*END NOTICIAS*/	
}