/*
Theme Name: Liev & Rodriguez Arquitectura
Theme URI: https://www.imagenmarbella.com
Author: Imagen Marbella
Author URI: https://www.imagenmarbella.com
Description: Theme developed for Liev & Rodriguez Arquitectura
Requires at least: 5.8
Tested up to: 5.8
Requires PHP: 5.6
Version: 1.0
Tags: white, custom-menu, featured-images, portfolio, real-state
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpdomain

Liev & Rodriguez Arquitectura WordPress Theme, (C) 2024 Liev & Rodriguez Arquitectura
This theme has only developed for Liev & Rodriguez Arquitectura site
*/



/**************************/
/******** FONTS *******/
/**************************/
/*#region */

@font-face {
	font-family: 'Neue Regrade Regular';
	src: url('fonts/neue-regrade/neue-regrade-regular.ttf'),
		 url('fonts/neue-regrade/neue-regrade-regular.otf'); /* Locate the .ttf file within your directory */
}

@font-face {
	font-family: 'Neue Regrade Regular Italic';
	src: url('fonts/neue-regrade/neue-regrade-regular-italic.ttf'),
		 url('fonts/neue-regrade/neue-regrade-regular-italic.otf'); /* Locate the .ttf file within your directory */
}

@font-face {
	font-family: 'Neue Regrade Medium';
	src: url('fonts/neue-regrade/neue-regrade-medium.ttf'),
		 url('fonts/neue-regrade/neue-regrade-medium.otf'); /* Locate the .ttf file within your directory */
}

@font-face {
	font-family: 'Neue Regrade Medium Italic';
	src: url('fonts/neue-regrade/neue-regrade-medium-italic.ttf'),
		 url('fonts/neue-regrade/neue-regrade-medium-italic.otf'); /* Locate the .ttf file within your directory */
}

@font-face {
	font-family: 'Neue Regrade Light';
	src: url('fonts/neue-regrade/neue-regrade-light.ttf'),
		 url('fonts/neue-regrade/neue-regrade-light.otf'); /* Locate the .ttf file within your directory */
}

@font-face {
	font-family: 'Neue Regrade Light Italic';
	src: url('fonts/neue-regrade/neue-regrade-light-italic.ttf'),
		 url('fonts/neue-regrade/neue-regrade-light-italic.otf'); /* Locate the .ttf file within your directory */
}

@font-face {
	font-family: 'Neue Regrade Bold';
	src: url('fonts/neue-regrade/neue-regrade-bold.ttf'),
		 url('fonts/neue-regrade/neue-regrade-bold.otf'); /* Locate the .ttf file within your directory */
}

@font-face {
	font-family: 'Neue Regrade Bold Italic';
	src: url('fonts/neue-regrade/neue-regrade-bold-italic.ttf'),
		 url('fonts/neue-regrade/neue-regrade-bold-italic.otf'); /* Locate the .ttf file within your directory */
}

strong,b{
	font-family: var(--font-general-medium);
	font-weight: 500;
}

/*#endregion */

/**************************/
/******** BASE *******/
/**************************/
/*#region */
:root {
	--color-black: #1D1B22;
	--color-text: #1F1F21;
	--color-gray-text: rgba(29,27,34,.65);
	--color-text-white: #FCFAF1;
	--color-white: #ffffff;
	--color-menu: #ffffff;
	--color-hover: #BCBDB4;
	--color-bg: #fcfaf1;
	/* --color-menu: #000000; */
	--color-primary: #B12B28;
	--color-secondary: #EBD698;
	--color-input: transparent;
	--font-general: "Neue Regrade Regular";
	--font-general-medium: "Neue Regrade Medium";
	--font-general-bold: "Neue Regrade Bold";
	--font-title: "Neue Regrade Regular";
	--filter-svg-black2white: invert(100%) sepia(100%) saturate(0%) hue-rotate(3deg) brightness(100%) contrast(104%);
}

.lg-container.lg-show{
	z-index: 1070;
	position: relative;
}

.lg-outer .lg-video-cont .lg-object {
    object-fit: cover;
}


.fp-overflow{
	overflow: visible !important;
}

.fp-watermark{
	display: none;
}

html, body {
	overflow-x: hidden !important;
}

body{
	background-color: var(--color-bg);
	/* position: relative; */
}

body::after{
	/* content: ''; */
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
	background-color: red;
	opacity: .25;
}

/* HOME */

.splide{
	margin-bottom: 240px;
}

.splide__arrows,
.splide__pagination{
	display: none;
}

.splide__slide{
	margin: 0 3rem;
}

.ic-nofullpage {
	margin-top: 120px;
	margin-bottom: 120px;
}

.section {
    /* min-height: 100vh; */
	padding-top: 115px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#fullpage > div.section:first-child{
	padding-top: 0;
}

.ic-05 + .section{
	height: 0px !important;
	min-height: 0px !important;
	max-height: 0px !important;
}

body li,
body p{
	color: var(--color-text);
	font-feature-settings: 'liga' off, 'clig' off;
	font-family: var(--font-general);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 28px; /* 125% */
}

h1,h2,h3,h4,h5,h6{
	color: var(--color-menu);
	font-family: var(--font-general);
	font-size: 26px;
	font-style: normal;
	font-weight: 400;
	line-height: 30px; /* 115.385% */
}

h2{ 
	color: var(--color-text);
	font-feature-settings: 'liga' off, 'clig' off;
	font-family: var(--font-general);
	font-size: 24px;
	font-style: normal;
	font-weight: 400;
	line-height: 30px; /* 125% */
	margin-bottom: 1rem;
}

a{
	color: var(--color-text);
	font-feature-settings: 'liga' off, 'clig' off;
	font-family: var(--font-general);
	font-size: 24px;
	font-style: normal;
	font-weight: 400;
	text-decoration: none;
	transition: .3s all;
}

a:hover{
	text-decoration: underline;
	color: var(--color-hover);
}

ul{
	margin-bottom: 0;
	padding-left: 0;
	list-style: none;
}

.wp-block-buttons{
	display: flex;
}

.wp-block-columns{
	gap: 24px;
}

#toTop {
	display: none;
	width: 40px;
	height: 40px;
	/* background-color: var(--color-bg);
	border-radius: 100%; */
	background-size: 40px 40px;
	background-image: url('images/icons/arrow-button-black.svg');
	background-repeat: no-repeat;
	background-position: center center;
	transform: rotate(-90deg);
	position: fixed;
	bottom: 18rem;
	right: 1rem;
	cursor: pointer;
	padding: 0;
	/* z-index: 999; */
}

#toTop.icon-invert{
	/* filter: invert(1); */
	display: block;
}

#toTop svg{
	display: none;
}

.box-whatsapp{
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	/* z-index: 10; */
}

.box-whatsapp img:hover{
	content: url('images/icons/icon-whatsapp-hover.svg');
}


.slick_historia_mobile{
	display: none;
}

/*#endregion */

/**************************/
/******** HEADER *******/
/**************************/
/*#region */

.mobile-nav-wrapper{
	display: none;
}

.wpml-ls-legacy-dropdown{
	width: auto;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu a,
.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle{
	padding: 0 !important;
	border: 0;
    background: transparent;
    font-size: 15px;
    color: var(--color-menu);
    text-transform: uppercase;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu{
	border-top: 0;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu a:hover,
.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:hover{
    background: transparent;
}

.wpml-ls-legacy-list-horizontal>ul{
	display: flex;
	flex-direction: row-reverse;
}

.mobile-nav-wrapper .wpml-ls-legacy-list-horizontal>ul{
	justify-content: center;
}

.wpml-ls-current-language a{
	font-weight: 500;
	font-family: var(--font-general-medium);
}

.wpml-ls-item-es{
	position: relative;
}

.wpml-ls-item-es::after{
	content: '/';
	position: absolute;
	top: -2px;
	right: -3px;
	color: var(--color-menu)
}

.scrolled .wpml-ls-item-es::after{
	color: var(--color-black)
}

header{
	z-index: 1060;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	padding-top: 25px;
	padding-left: 55px;
	padding-right: 55px;
	transition: .3s all;
}

.mfp-bg{
	z-index: 1070;
}

.mfp-wrap{
	z-index: 1080;
}

header li{
	line-height: 24px;
}

header a{
	font-size: 15px;
	color: var(--color-menu);
	text-transform: uppercase;
}

header .current_page_item a{
	font-family: var(--font-general-medium);
}

header a:hover{
	color: var(--color-hover);
	/* font-size: 24px; */
}

header.scrolled{
	background-color: var(--color-bg);
}

.single header.scrolled{
	background-color: transparent;
	
	a{
		color: var(--color-white)
	}
}

header.scrolled .wpml-ls-legacy-dropdown .wpml-ls-sub-menu a,
header.scrolled .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle,
header.scrolled a{
	color: var(--color-text);
}

header figure{
	filter: invert(1);
	margin-bottom: 0;
}

header.scrolled figure{
	filter: none;
	width: 168px;
}

header.scrolled figure a img{
	content: url('images/isotipo.svg');
	height: 34px;
	width: auto;
}

body.error404 header.scrolled figure a img,
/* body.single header.scrolled figure a img, */

body.page-id-398 header.scrolled figure a img,
body.page-id-396 header.scrolled figure a img,
body.page-id-394 header.scrolled figure a img,
body.page-id-418 header.scrolled figure a img,
body.page-id-422 header.scrolled figure a img,
body.page-id-426 header.scrolled figure a img,
body.page-id-430 header.scrolled figure a img,
body.page-id-432 header.scrolled figure a img,
body.page-id-434 header.scrolled figure a img,

body.page-id-15 header.scrolled figure a img,
body.page-id-11 header.scrolled figure a img,
body.page-id-224 header.scrolled figure a img,
body.page-id-226 header.scrolled figure a img,
body.page-id-228 header.scrolled figure a img,
body.page-id-121 header.scrolled figure a img,
body.page-id-3 header.scrolled figure a img,
body.page-id-119 header.scrolled figure a img,
body.page-id-341 header.scrolled figure a img,
body.page-id-394 header.scrolled figure a img,
body.page-id-396 header.scrolled figure a img,
body.page-id-398 header.scrolled figure a img{
	content: url('/wp-content/uploads/2025/01/Logo-vector.svg');
	height: 35px;
	width: 168px;
}

body.single header.scrolled{
	background-color: var(--color-bg);

	a{
		color: var(--color-text)
	}
}

body.single header.scrolled figure a img{
	/* filter: invert(1); */
}


#ic-mobile-switcher {
	display: none;
}

.widget-headers {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
}

.widget-headers ul.menu {
	display: flex;
	gap:96px;
	list-style: none;
}

.widget-headers .widget-header-two{
	position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
}

/*#endregion */

/**************************/
/******** FOOTER *******/
/**************************/
/*#region */

footer{
	background-color: var(--color-black);
	width: 100vw;
}

footer li,
footer p,
footer .wp-block-buttons a,
footer a{
	color: var(--color-menu);
	font-feature-settings: 'liga' off, 'clig' off;
	font-family: var(--font-general);
	font-size: clamp(10px, 5vw, 15px);
	font-style: normal;
	font-weight: 400;
}

footer .wp-block-buttons a:hover,
footer a:hover{
	color: var(--color-hover);
}

footer .ic-rrss{
	display: flex;
	margin-top: 15px;
}

footer .ic-rrss img{
	filter: invert(1);
	margin-right: 35px;
}

.middle-footer{
	display: flex;
	justify-content: space-between;
	padding: 85px 70px;
}

footer .footer-one > div:first-child{
	display: flex;
}

footer .footer-one figure{
	margin-top: 8px;
}

footer .footer-three .wp-block-buttons a{
	text-transform: uppercase;
	margin-top: 10px;
	display: block;
}

footer .footer-four li a{
	text-transform: uppercase;
	margin-bottom: 10px;
	display: block;
}

.middle-footer .footer-three .widget-footer-three .ic-rrss,
.middle-footer .footer-four .widget-footer-four:last-child{
	display: none;
}

footer .footer-five li a{
	margin-bottom: 10px;
	display: block;
}

.icModalProjects{
	overflow: hidden;
}

.modal-xl{
	max-width: 1320px;
}

.modal-content{
	border: 0;
	border-radius: 0;
	padding-top: 150px;
	background-color: transparent;
}

.modal-backdrop {
	background-color: var(--color-bg)
}

.modal-backdrop.show{
	opacity: 1;
}

.modal-body{
	background-color: #E4E5DA;
	/* padding: 65px 140px; */
	padding: 60px;
}

.div-scrollable,
.modal-body .div-scrollable{
	scrollbar-width: auto;       /* Hace la barra de desplazamiento más delgada */ /* Firefox */
  	scrollbar-color: rgba(252, 250, 241, 0.62) #E4E5DA; /* Color del "thumb" y el fondo */  /* Firefox */
	height: calc(100vh - 350px);
	overflow-y: auto;
}

.div-scrollable{
  	scrollbar-color: #E4E5DA #FCFAF1; /* Color del "thumb" y el fondo */  /* Firefox */
	height: calc(100vh - 300px);
	overflow-y: scroll;
}

.modal .btn-close{
	position: absolute;
	top: 1rem; 
	right: 1rem;
}

/* Estilo para la barra de desplazamiento (Chrome, Safari, Edge) */
.modal-body::-webkit-scrollbar {
	width: 10px; /* Ancho de la barra de desplazamiento */
}

/* Fondo de la barra de desplazamiento */
.modal-body::-webkit-scrollbar-track {
	background: #E4E5DA; /* Color del fondo de la barra de desplazamiento */
	border-radius: 0; /* Radio de borde redondeado */
}

/* Estilo de la parte que se mueve (el "thumb") */
.modal-body::-webkit-scrollbar-thumb {
	background: rgba(252, 250, 241, 0.62); /* Color del "thumb" */
	border-radius: 8px; /* Radio de borde redondeado */
	box-shadow: 1px 0px 0px 0px #E8E8E8 inset, -1px 0px 0px 0px #F0F0F0 inset;
}

/* Estilo cuando el "thumb" está en hover */
.modal-body::-webkit-scrollbar-thumb:hover {
	background: #555; /* Color del "thumb" al pasar el mouse */
}

.icModalProjects .table{
	vertical-align: baseline;
}

.icModalProjects table tr td{
	text-align: left;
	color: #000;
	font-family: var(--font-general);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	/* line-height: 49px; */
	line-height: normal;
}

.icModalProjects .post-item:first-child table tr td{
	padding-top: 0 !important;
}

/* .icModalProjects table tr td:first-child{
	text-align: left;
} */

.icModalProjects table tr td:nth-child(2) a,
.icModalProjects table tr td:nth-child(2) h2{
	font-size: 24px;
	margin-bottom: 0;
	padding: 0;
}

.icModalProjects .table>:not(:first-child){
	border-top: 0;
}

.icModalProjects table tr td.imgsProject img{
	width: calc(33% - 24px);
	height: 165px;
	object-fit: cover;
	margin-right: 23px;
}

.icModalProjects table tr td.imgsProject img:last-child{
	width: 33%;
	margin-right: 0;
}

/*#endregion */

/**************************/
/******** CONTACT FORM *******/
/**************************/
/*#region */

form{
	margin-top: 30px;

	.wpcf7-response-output{
		display: none;
	}

	a{
		color: var(--color-black);
		font-weight: 500;

		/* &:hover{
			color: var(--color-hover);
		} */
	}

	label{
		display: inherit;
	}

	.wpcf7-list-item-label a,
	.wpcf7-list-item-label{
		font-size: 14px;
	}

	.wpcf7-list-item{
		margin-left: 0;
	}

	input[type="checkbox"]{
		appearance: none;
		width: 20px;
		height: 20px;
		padding: 0;
		margin-right: .5rem;
		border: 1px solid rgba(46,40,43,.5);
		background-color: transparent;
		transform: translate(0, 5px);
	}

	input[type="checkbox"]:checked{
		background-image: url('images/icons/close-menu.svg');
		background-size: 12px 12px;
		background-repeat: no-repeat;
		background-position: center center;
	}

	.wpcf7-submit{
		margin-top: 1rem;
		margin-left: auto;
		display: block;
		border: 0;
		box-shadow: none;
		padding: 0;
		padding-right: calc(7px + 24px);
		color: var(--color-text);
		font-family: var(--font-general);
		font-size: 20px;
		font-style: normal;
		font-weight: 500;
		background-color: transparent;
		background-image: url('images/icons/arrow-button-black.svg');
		background-position: center right;
		background-size: 24px 24px;
		background-repeat: no-repeat;
	
		&:disabled{
			opacity: .25;
		}
	
		&:hover{
			color: var(--color-text);
			text-decoration: underline;

			&:disabled{
				color: var(--color-text);
			}
		}
	}
	
	.form-control{
		padding-left: 0;
		width: 100%;
		border-radius: 0;
		border: 0;
		border-bottom: 1px solid var(--color-text);
		color: var(--color-text);
		font-size: 16px;
		background-color: transparent;
	
		&:focus-visible,
		&:focus{
			box-shadow: none;
			background-color: transparent;
			border-color: var(--color-text);
		}
	}
}



/*#endregion */

/**************************/
/******** HOME *******/
/**************************/
/*#region */

.swiper-button-prev,
.swiper-button-next,
.slick-prev,
.slick-next{
	border: 0;
	font-size: 0;
	position: absolute;
	top: -2.5rem;
	right: 1rem;
	width: 24px;
	height: 24px;
	box-shadow: none;
	background: transparent;
	background-size: 24px 24px;
	background-repeat: no-repeat;
	background-image: url('images/icons/arrow-button-black.svg');
}

.swiper-button-prev,
.swiper-button-next{
	left: inherit;
	top: inherit;
	bottom: 1rem;
	filter: invert(1);
}

.swiper-button-prev{
	left: inherit;
	right: 3rem;
	transform: rotate(180deg);
}

.swiper-button-prev::after,
.swiper-button-next::after{
	content: none;
}

.slick-prev{
	transform: rotate(180deg);
	right: 4rem;
}

.slick-disabled{
	cursor: pointer;
	opacity: .25;
}

.wp-block-buttons a{
	margin-bottom: 1rem;
	background-color: transparent;
	padding: 0;
	padding-right: calc(7px + 24px);
	color: var(--color-text-white);
	font-family: var(--font-general);
	font-size: 24px;
	font-style: normal;
	font-weight: 500;
	background-image: url('images/icons/arrow-button.svg');
	background-position: center right;
	background-size: 24px 24px;
	background-repeat: no-repeat;
}

.wp-block-buttons.ic-no-arrow a{
	background-image: none;
}

.wp-block-buttons a:hover{
	color: var(--color-hover);
}

.ic-videohome .wp-block-video{
	position: relative;
	width: 100vw;
	height: 100vh;
}

.ic-videohome .wp-block-video video{
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	object-fit: cover; /* Ensures the video covers the full container without distortion */
	transform: translate(-50%, -50%);
}

.ic-videohome .wp-block-video::before{
	/* content: ''; */
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(31, 31, 33, 0.29);
	z-index: 1;
}

.ic-videohome .wp-block-heading{
	z-index: 2;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}

/* .ic-02{
	padding-top: 115px;
} */

.ic-02 img{
	max-height: 70vh;
	object-fit: cover;
}

.home .ic-02 img{
	height: 555px;
	max-height: 50vh;
	position: relative;
}

.home .ic-02 figure{
	position: relative;
}

.home .ic-02 figure figcaption{
	margin-top: 20px;
}

.home .ic-02 figure a::after{
	content: '';
	z-index: 1;
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 56px;
	background-color: var(--color-hover);
	transition: .3s all;
}

.home .ic-02 figure a:hover::after{
	opacity: .5;
}

.ic-03{
	position: relative;
	display: flex;
	justify-content: center;
	align-items: end;
	overflow: hidden;
	/* min-height: 100vh; */
	aspect-ratio: 16 / 9;
	margin-top: 115px;
	padding-top: 0;
}

.ic-03 .wp-block-image,
.ic-03 .wp-block-video{
	z-index: -1;
	position: absolute;
	width: 100vw;
	/* height: 100vh; */
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.ic-03 .wp-block-image::after{
	content: '';
	z-index: 1;
	position: absolute;
	bottom: -12px;
	left: 0;
	height: 25%;
	width: 100%;
	background: rgb(0,0,0);
	background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
}

.ic-03 .wp-block-image img,
.ic-03 .wp-block-video video{
	z-index: -1;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: auto;
	object-fit: cover; /* Ensures the video covers the full container without distortion */
	transform: translate(-50%, -50%);
}

.ic-03 .wp-block-heading{
	margin-bottom: 115px;
}

.ic-03 .wp-block-heading,
.ic-03 a{
	color: var(--color-text-white);
}

.ic-03.ic-equipo-estudio a{
	cursor: default;
	pointer-events: none;
}

.ic-04{
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.ic-04 .wp-block-buttons a{
	color: var(--color-text);
	/* background-image: url('images/icons/arrow-button-black.svg'); */
}

.ic-04 .wp-block-buttons a:hover{
	background-image: url('images/icons/arrow-button.svg');
}

.slider_3_slides .slick-list{
	overflow: visible;
}

.slider_3_slides .slick-slide{
	padding: 0 24px 0 0;
}

.ic-04 .wp-block-buttons a:hover{
	color: var(--color-hover);
}

/* .ic-05{
	width: 100%;
	overflow: hidden;
}

.ic-05 .ic-logos{
	margin-top: 120px;
	margin-bottom: 200px;
	display: flex;
}

.ic-logos > figure {
	min-width: 200px;
	height: 150px;	
	margin: 0 2rem;
}

.ic-logos > figure img {
	width: 200px;
	height: 150px;	
	object-fit: cover;	
} */


/* .marquee-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 300px;
	height: 100%;
	background: linear-gradient(90deg, var(--color-bg) 32.69%, rgba(252, 248, 253, 0.00) 127.69%);
	z-index: 1;
}

.marquee-container::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 300px;
	height: 100%;
	background: linear-gradient(270deg, var(--color-bg) 0%, rgba(249, 245, 250, 0.00) 100%);
} */

.marquee-container{
	/* width: 100%; */
	max-width: 1320px;
	margin-top: 120px;
	overflow: hidden;
}

.marquee-images{
	display: flex;
	animation: marquee 30s linear infinite;
}

.marquee-images figure{
	/* display: inline-block; */
	min-width: 200px;
	width: 200px;
	height: 150px;
	margin: 2rem;
}

.marquee-images figure img{
	width: 200px;
	height: 150px;	
	object-fit: cover;
}

/* Animación para mover las imágenes de izquierda a derecha */
@keyframes marquee {
    0% {
        transform: translateX(0); /* Comienza desde el inicio */
    }
    100% {
        transform: translateX(-380%); /* Mueve todo el contenedor hacia la izquierda */
    }
}

/*#endregion */

/**************************/
/******** PROYECTOS *******/
/**************************/
/*#region */

.ic-proyectos{
	margin-top: 170px;
}

body:not(.home):not(.single) .post_type_ic_projects{
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.post_type_ic_projects .post-entry{
	width: calc(25% - 12px);

	/* &:last-child{
		width: 25%;
	} */
}

.post_type_ic_projects .post-entry:nth-child(9n+4),
.post_type_ic_projects .post-entry:nth-child(9n+9),
.post_type_ic_projects .post-entry:nth-child(9n+2){
	width: calc(50% - 24px);
}

.post_type_ic_projects .post-entry .post-title a{
	margin-top: 2rem;
	color: var(--color-text);
	font-feature-settings: 'liga' off, 'clig' off;
	font-family: var(--font-general);
	font-size: 24px;
	font-style: normal;
	font-weight: 500;
	display: block;
}

.post_type_ic_projects .post-entry .post-title a:hover{
	color: var(--color-hover);
}

.post_type_ic_projects .post-entry .post-intro p{
	display: none;
}

.post_type_ic_projects .post-entry .post-intro p:first-child{
	overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
	min-height: 60px;
}

.post_type_ic_projects .post-entry .post-image{
	height: 415px;
	overflow: hidden;
	position: relative;
	/* aspect-ratio: 3 / 4; */
}

body.home .post_type_ic_projects .post-entry .post-image{
	width: 100%;
	aspect-ratio: 3/4;
	height: inherit;
}

body.home 

.post_type_ic_projects .post-entry .post-image a::before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--color-hover);
	opacity: 0;
	transition: .3s all;
}

.post_type_ic_projects .post-entry:hover .post-image a::before{
	opacity: .5;
}

.post_type_ic_projects .post-entry .post-image img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 3/4;
}

.post_type_ic_projects .post-entry .post-image img.img-pos-dcha{
	object-position: right;
}

.post_type_ic_projects .post-entry .post-image img.img-pos-izda{
	object-position: left;
}

.post_type_ic_projects .post-entry .post-image img.img-pos-centro{
	object-position: center;
}

.post_type_ic_projects .post-entry .post-categories a,
.post_type_ic_projects .post-entry .post-categories{
	color: var(--color-text);
	font-feature-settings: 'liga' off, 'clig' off;
	font-family: var(--font-general);
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px; /* 150% */
	text-transform: uppercase;
	margin-bottom: 70px;
}

.ic-menu-projects{
	display: flex;
	align-items: baseline;
}

.ic-menu-projects .wp-block-details{
	margin-left: 2rem;
}

.ic-menu-projects .wp-block-details summary{
	margin-bottom: 1rem;;
	list-style: none;
	color: var(--color-text);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: var(--font-general);
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    text-decoration: none;
}

.ic-menu-projects .wp-block-details p.active a{
	text-decoration: underline;
}


.ic-menu-projects .wp-block-details summary::-webkit-details-marker {
	display:none;
  }

.ic-menu-projects .wp-block-buttons{
	margin-left: auto;
}

.ic-menu-projects .wp-block-buttons a{
	color: var(--color-text);
	background-image: url('images/icons/arrow-button-down.svg');
}

.ic-menu-projects .wp-block-buttons a:hover{
	color: var(--color-hover);
	background-image: url('images/icons/arrow-button.svg');
}

/*#endregion */

/**************************/
/******** SINGLE PROYECTO *******/
/**************************/
/*#region */

.single .ic-link-projects{
	font-size: 15px;
	text-transform: uppercase;
	/* margin-top: -25px; */
	transform: translateY(-25px);
	display: inline-block;
	position: relative;
	z-index: 1;
}

.single .swiper{
	margin-top: 30px;
	/* overflow: visible; */

	.swiper-slide{
		width: 100%;
		/* height: 95vh; */
		/* min-height: 500px; */
		/* overflow: hidden; */
		opacity: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		
		img{
			/* max-width: 100%;
			height: 100%;
			width: auto;
			height: auto; */
			width: 1320px;
			max-width: 100%;
			max-height: 700px;
			object-fit: contain;
		}

		&.swiper-slide-active{
			opacity: 1;
		}
	}

	.swiper-button-next,
	.swiper-button-prev{
		bottom: 0;
		top: inherit;
		left: calc(50% - 24px);
		right: inherit;
		filter: none;
	}
	
	.swiper-button-next{
		left: inherit;
		right: calc(50% - 24px);
	}
}

.single .ic-related-projects{
	margin-top: 2rem;
}

.single .ic-breadcrumb{
	margin-top: 1rem
}

/* .single .ic-feat-image img,
.single .property-gallery-container iframe,
.single .property-gallery-container img{
	height: calc(100vh - 230px);
	object-fit: cover;
} */

.single .ic-feat-image img{
	height: calc(100vh - 230px);
	object-fit: cover;
}

.single .property-gallery-container img.ic-icon-zoom{
	height: inherit;
	object-fit: inherit;
}

.slick-pagination .ic-icon-zoom{
	opacity: 0;
}

.single .ic-feat-image img{
	width: 100vw;
}

.single .ic-breadcrumb a{
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 49px; /* 306.25% */
	text-transform: uppercase;
	padding: 0;
	margin: 0;
}

.single .ic-breadcrumb p{
	text-transform: uppercase;
	/* margin-left: 1rem; */
	margin-bottom: 0;
}

.single .wp-block-heading{
	margin-top: 1rem;
	margin-bottom: 30px;
	color: var(--color-text);
}

.single h1.wp-block-heading{
	font-size: 32px;
}

/* .single .ic-content-single ul{
	columns: 2;
	padding-left: 2rem;
	gap: 24px;
} */
.single .ic-content-single ul li{
	margin-bottom: 1rem;
}

.single .post_type_ic_projects{
	margin-bottom: 10rem;
	display: flex;
    gap: 24px;

	.post-entry{
		width: 25%;
	}

	.post-entry:nth-child(9n+4), 
	.post-entry:nth-child(9n+9), 
	.post-entry:nth-child(9n+2){
		width: 50%;
	}

	.post-entry{
		display: none;

		&:first-child,
		&:nth-child(2),
		&:nth-child(3){
			display: block;
		}

	}
}

.single .slick-pagination{
	z-index: 1;
	position: absolute;
	bottom: -45px;
	left: 0;
	font-family: var(--font-general);
	font-size: 15px;
	font-weight: 400;
	color: var(--color-text);
	width: 130px;
	height: 22px;
	cursor: pointer;

	a{
		display: block;
	}
}

.single .pagination-wrapper{
	position: relative;
	z-index: -1;
	margin-top: 22px;
	display: flex;
	gap: 5px;
	align-items: center;
	font-family: var(--font-general);
	font-size: 15px;
	text-transform: uppercase;

	a{
		font-size: 0;
	}

	.swiper-pagination-fraction{
		position: relative;
		width: auto;
		bottom: inherit;
		left: inherit;
		top: inherit;

		.swiper-pagination-current,
		.swiper-pagination-total{
			color: var(--color-text)
		}
	}

}

.single 

/* .single .slick-prev{
	display: none !important
} */

.single .slick-prev,
.single .slick-next{
	top: inherit;
	bottom: 21px;
	right: 1rem;
	filter: invert(1);
	z-index: 1;
}

.single .slick-prev{
	right: 3rem;
}

.single button.mfp-arrow{
	border: 0;
    width: 40px;
    height: 40px;
    box-shadow: none;
    background: transparent;
    background-size: 40px 40px;
    background-repeat: no-repeat;
    background-image: url(images/icons/arrow-button-black.svg);
	filter: invert(1);
	margin: 0;
	transform: translateY(-50%);
}

.single button.mfp-arrow::after,
.single button.mfp-arrow::before{
	content: none;
}

.single button.mfp-arrow.mfp-arrow-left{
	-webkit-transform: scaleX(-1);
	transform: scaleX(-1);
	margin-top: -21px;
}

.ic-project-video a::after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,.5);
}

.ic-project-video a::before{
	content: '';
	position: absolute;
	top: calc(50% - 40px);
	left: calc(50% - 40px);
	border: 0;
    width: 80px;
    height: 80px;
    box-shadow: none;
    background: transparent;
    background-size: 100%;
    background-repeat: no-repeat;
    background-image: url(images/icons/YoutubeLogo.svg);
	/* filter: invert(1); */
	z-index: 1;
}

/*#endregion */

/**************************/
/******** ESTUDIO *******/
/**************************/
/*#region */

.ic-equipo .wp-block-cover{
	z-index: -1;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 0;
}

/* .ic-equipo .wp-block-cover span{
	background-color: var(--color-black) !important;
	opacity: .5 !important;
} */

.ic-equipo .wp-block-buttons a{
	background: none;
	padding-right: 0;
}

.ic-equipo .wp-block-buttons a:hover{
	text-decoration: none;
	cursor: pointer;
	color: var(--color-text-white)
}

.ic-historia .slick-dots{
	display: none !important;
}

.slick_historia .slick-next{
	top: inherit;
	bottom: -2.5rem;
	left: 45px;
	transform: rotate(90deg);
}

.slick_historia .slick-prev{
	top: inherit;
	bottom: -2.5rem;
	left: 0;
	transform: rotate(-90deg);
}

.ic-filosofia{
	padding-top: 115px;
	padding-bottom: 0;
}

/* .ic-filosofia :where(.wp-block-columns){
	margin-bottom: 7.5rem;
} */

.ic-hitos-container{
	padding-top: 100px;
}

.ic-hitos{
	position: relative;
	margin-top: 45px;
	transform: translateX(-45px);
}

.ic-hitos .slick-arrow{
	top: -5rem;
}

.ic-hitos .slick-track{
	display: flex;
	flex-direction: row-reverse;
}

.ic-hitos::after,
.ic-hitos::before{
	content: '';
	z-index: 1;
	position: absolute;
	top: 0; 
	left: 0;
	width: 45px;
	height: 100%;
	background: rgb(252,250,241);
	background: linear-gradient(90deg, rgba(252,250,241,1) 0%, rgba(252,250,241,0) 100%);
}

.ic-hitos::after{
	left: inherit;
	right: 0;
	transform: rotate(180deg);
}

.ic-hitos .slick-slide{
	padding-left: 45px;
}

.ic-hitos .slick-slide .wp-block-group div p{
	text-transform: uppercase;
}

.ic-hitos .slick-slide .wp-block-group div p:first-child{
	font-size: 24px;
}

.ic-hitos .slick-slide .wp-block-group div p:nth-child(2){
	margin-bottom: 0;
}

.ic-hitos .slick-slide .wp-block-group div p:last-child{
	font-weight: 500;
	font-family: var(--font-general-medium);
}

/*#endregion */


/**************************/
/******** CONTACTO *******/
/**************************/
/*#region */

.gm-style .gm-style-iw-c{
	padding: 12px !important;
}

.gm-style-iw-d{
	overflow: auto !important;
}

.gm-style-iw-chr button{
	width: 12px !important;
	height: 12px !important;
}

.gm-style-iw-chr button span{
	width: 12px !important;
	height: 12px !important;
	margin: 0 !important;
}

.ic-contact{
	margin-top: 170px;
}

.ic-contact li,
.ic-contact p,
.ic-contact a{
	font-family: var(--font-general);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
}

.ic-contact form a,
.ic-contact ul li:nth-child(2) a{
	text-decoration: underline;
}

.ic-contact ul{
	margin-top: 2rem;
}

.ic-contact ul li{
	margin-bottom: 10px;
}

.ic-contact .ic-rrss{
	margin-top: 2rem;
	display: flex;
	gap: 35px;
}

.ic-google-maps-wrapper{
	height: 640px;
}

.ic-google-maps-wrapper .box-map,
.ic-google-maps-wrapper .box-map #gmap{
	height: 100%
}

/*#endregion */


/**************************/
/********  LEGAL ADVICE PAGES *******/
/**************************/
/*#region */

.error404 section,
.page-id-394 > div,
.page-id-396 > div,
.page-id-398 > div,
.page-id-3 > div,
.page-id-121 > div,
.page-id-119 > div{
	/* padding-top: 170px; */
	padding-bottom: 100px;
}

.page-id-394 .wp-block-heading,
.page-id-396 .wp-block-heading,
.page-id-398 .wp-block-heading,
.page-id-3 .wp-block-heading,
.page-id-121 .wp-block-heading,
.page-id-119 .wp-block-heading{
	color: var(--color-text);
	font-feature-settings: 'liga' off, 'clig' off;
	font-family: var(--font-general-medium);
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 49px; /* 204.167% */
}

.error404 .wp-block-heading,
.page-id-394 h1.wp-block-heading,
.page-id-396 h1.wp-block-heading,
.page-id-398 h1.wp-block-heading,
.page-id-3 h1.wp-block-heading,
.page-id-121 h1.wp-block-heading,
.page-id-119 h1.wp-block-heading{
	color: var(--color-text);
	font-feature-settings: 'liga' off, 'clig' off;
	font-family: var(--font-general-medium);
	font-size: 24px;
	font-style: normal;
	font-weight: 500;
	line-height: 49px; /* 204.167% */
}

.page-id-394 > div ul,
.page-id-396 > div ul,
.page-id-398 > div ul,
.page-id-3 > div ul,
.page-id-121 > div ul,
.page-id-119 > div ul{
	padding-left: 1rem;
	list-style: disc;
	margin-bottom: 1rem;
}


/* .fullpage-wrapper {
	.fp-section {
		-webkit-transition: all 0.1s linear !important;
		-moz-transition: all 0.1s linear !important;
		-o-transition: all 0.1s linear !important;
		transition: all 0.1s linear !important;
	}
} */

/*#endregion */


/**************************/
/********  ENGLISH SETTINGS *******/
/**************************/
/*#region */

html:lang(en){
	
}

/*#endregion */


/**************************/
/******** RESPONSIVE *******/
/**************************/
/*#region */

/* // MacBook Pro */
@media (max-width: 1440.98px) and (min-width:992px) {

	.section{
		min-height: inherit;
		height: inherit;
	}
	
	.ic-03.section{
		/* min-height: 100vh; */
		aspect-ratio: 16 / 9;
	}

	.ic-05 + .section{
		min-height: inherit;
	}

	/* Home */

	.home .slick-prev,
	.home .slick-next{
		bottom: 0;
		z-index: 1;
	}
	
	.home .ic-02 img{
		max-height: 450px;
	}

	iframe{
	/* .post_type_ic_projects .post-entry .post-image{ */
		height: 275px;
	}

	/* .home .ic-04{
		margin-top: 100px;
	} */

	/* Estudio */

	.ic-hitos{
		margin-bottom: 100px;
	}

	.ic-historia .slick-prev,
	.ic-historia .slick-next{
		bottom: -3rem;
		left: -1rem;
	}
	
	.ic-historia .slick-next{
		left: 2rem;
	}

	/* Proyectos */
	
	.post_type_ic_projects .post-entry {
		width: calc(30% - 24px);

		&:last-child{
			width: 30%;
		}
	}

	.post_type_ic_projects .post-entry:nth-child(9n+4), .post_type_ic_projects .post-entry:nth-child(9n+9), .post_type_ic_projects .post-entry:nth-child(9n+2) {
		width: calc(40% - 24px);
	}
}

/*
@media (max-width: 1899.98px) and (max-height: 998.98) {
	.wp-block-video video {
        width: auto;
        height: 100vh;
    }
}
*/

	/* // `xxl` applies to x-large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {

	.ic-nofullpage {
		margin-top: 60px;
		margin-bottom: 60px;
	}

	.ic-hitos-container {
		padding-top: 60px;
	}

	.section{
		min-height: inherit;
		height: inherit;
		padding-top: 60px;
	}

	.ic-filosofia{
		padding-bottom: 0;
	}

	.ic-logos-container::after,
	.ic-logos-container::before {
		width: 150px;
	}

	.ic-equipo .wp-block-cover {
		z-index: inherit;
		position: inherit;
		top: inherit;
		bottom: inherit;
		left: inherit;
		right: inherit;
		padding: inherit;
	}

	.ic-03.section,
	.ic-03{
		min-height: inherit;
		display: block;
		padding-top: 0;
		aspect-ratio: initial;
	}
	
	.ic-03.ic-03.ic-equipo-estudio{
		margin-top: 0
	}

	.ic-03 .wp-block-image{
		z-index: inherit;
		position: inherit;
		width: inherit;
		height: inherit;
		top: inherit;
		left: inherit;
		right: inherit;
		bottom: inherit;
	}

	.ic-03 .wp-block-image img{
		z-index: inherit;
		position: inherit;
		top: inherit;
		left: inherit;
		width: 100%;
		height: inherit;
		object-fit: inherit;
		transform: inherit;
	}

	.ic-03 .wp-block-image::after{
		content: none;
	}

	.ic-03 .wp-block-heading, .ic-03 a {
		color: var(--color-black);
		margin-bottom: 0;
		margin-left: 7rem;
	}

	/* footer li, footer p, footer .wp-block-buttons a, footer a{
		font-size: 10px;
	} */

	.slick_historia{
		display: none;
	}
	
	.slick_historia_mobile{
		display: grid;
	}

	footer li,
	footer p,
	footer .wp-block-buttons a,
	footer a{
		font-size: clamp(10px, 5vw, 13px);
	}

	/* .single .ic-feat-image img, .single .property-gallery-container iframe, .single .property-gallery-container img {
    	height: 450px;
		object-fit: cover;
	} */
	
	.single .ic-feat-image img{
    	height: 450px;
		object-fit: cover;
	}

}

/* // `xl` applies to large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) { 

	/* Home */
	
	.wp-block-video video {
		width: 100%;
		height: auto;
	}

	.home .ic-02 img {
        max-height: 320px;
    }

	@keyframes marquee {
		0% {
			transform: translateX(0);
		}
	
		100% {
			transform: translateX( calc(-375% - 4rem) );
		}
	}
	

	/* Proyectos */

	.modal-backdrop {
		background-color: transparent;
	}

	.modal-body{
		padding: 30px 60px;
	}

	/* Footer */

	.middle-footer {
		padding: 45px 30px;
	}

	.slick_historia .slick-prev,
	.slick_historia .slick-next{
		bottom: -1rem;
		transform: none;
		left: 40px;
	}
	
	.slick_historia .slick-prev{
		transform: rotate(180deg);
		left: -5px;
	}

	/* Estudio */

	.ic-03 .wp-block-heading, .ic-03 a {
		margin-left: 2rem;
	}

	/* Footer */

	footer li, footer p, footer .wp-block-buttons a, footer a{
		font-size: 11px;
		line-height: 22px;
	}

	/* single */

	.icModalProjects .post-item table tr td:last-child span{
		display: block;
	}
	
	.single .swiper{
		.swiper-slide{
			min-height: 400px;
			max-height: 600px;
		}
	}

}

/* // `lg` applies to medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {

	.ic-nofullpage {
        margin-top: 0;
    }

	/* Header */
	header{
		padding-left: 1rem;
		padding-right: 1rem;
		padding-bottom: 25px;
	}

	.widget-header:not(.widget-header-one) {
        display: none;
    }

	#ic-mobile-switcher{
		display: block;
		width: 40px;
		height: 10px;
		position: relative;
		margin-left: 24px;
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
		-webkit-transition: .5s ease-in-out;
		-moz-transition: .5s ease-in-out;
		-o-transition: .5s ease-in-out;
		transition: .5s ease-in-out;
		cursor: pointer;
	}

	#ic-mobile-switcher span {
		display: block;
		position: absolute;
		height: 2px;
		width: 100%;
		background: var(--color-white);
		border-radius: 9px;
		opacity: 1;
		left: 0;
		top: 0;
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
		-webkit-transition: .25s ease-in-out;
		-moz-transition: .25s ease-in-out;
		-o-transition: .25s ease-in-out;
		transition: .25s ease-in-out;
	}

	header.scrolled #ic-mobile-switcher span {
		background-color: var(--color-black);
	}


	#ic-mobile-switcher span:nth-child(2),
	#ic-mobile-switcher span:nth-child(3) {
		display: none;
	}
	
	#ic-mobile-switcher span:last-child {
		top: 10px;
	}

	.mobile-nav-wrapper {
        background-color: var(--color-bg);
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0px;
        right: 0px;
        transform: translateY(-105%);
        transition: .3s all;
        font-size: 18px;
        text-align: center;
        z-index: 1100;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        transition: .3s all;
    }

	.mobile-nav-wrapper.active {
        transform: inherit;
    }

	.mobile-nav-wrapper .widget-mobile:nth-child(2) {
        position: absolute;
        top: 25px;
        left: 1rem;
    }

	.mobile-nav-wrapper #ic-mobile-close-switcher {
        position: absolute;
        top: 25px;
        right: 1rem;
		width: 24px;
    }

	.mobile-nav-wrapper a{
		color: var(--color-text);
		font-feature-settings: 'liga' off, 'clig' off;
		font-family: var(--font-general);
		font-size: 15px;
		font-style: normal;
		font-weight: 400;
		line-height: 24px; /* 160% */
		text-transform: uppercase;
	}

	.mobile-nav-wrapper .menu li{
		margin-bottom: 40px;
	}

	.wp-block-video video {
		height: 100vh;
		width: auto;
	}

	.ic-filosofia .wp-block-video video {
		height: auto;
		width: 100%;
	}

	.ic-videohome {
		position: relative;
		width: auto;
		height: 100vh;
	}


	/* Home */

	.section {
        min-height: inherit;
        height: inherit;
		display: block;
		margin-top: 0;
    }

	.ic-filosofia :where(.wp-block-columns) {
		margin-bottom: 0;
	}

	.home .ic-02 figure figcaption{
		margin-bottom: 0;
	}

	.home .ic-02 .wp-block-column:last-child figure figcaption{
		margin-bottom: 0;
	}

	/* header + .section{
		height: 90vh;
		min-height: inherit;
		overflow: hidden;
	} */

	.ic-logos-container{
		overflow: hidden;
	}

	/* .slider_3_slides .slick-list{
		overflow: hidden;
	}
	
	.slider_3_slides .slick-slide{
		padding: 0;
	} */
	
	.ic-related-projects > div{
		padding: 0;
	}

	.wp-block-columns{
		flex-direction: column;
	}

	.home .ic-02 img {
		max-height: initial;
		position: relative;
		aspect-ratio: 1 / 1;
	}

	.ic-04{
		display: block;
		/* margin-top: 100px; */
		min-height: auto;
	}

	/* .ic-05 .wp-block-heading{
		margin-top: 10rem;
	} */

	.splide{
		margin-bottom: 0;
	}


	/* Proyectos */

	.ic-proyectos {
		margin-top: 100px;
	}

	/* a, */
	.ic-menu-projects .wp-block-details summary{
	/* .wp-block-buttons a{ */
		font-size: 19px;
	}

	.ic-related-projects{
		margin: 100px 0;
	}

	.modal-body{
		padding: 1rem;
	}

	.modal-backdrop {
		background-color: transparent;
	}

	.icModalProjects table tr{
		display: flex;
		flex-direction: column;
	}

	.icModalProjects table tr td{
		line-height: normal;
		float: left;
	}
	
	.icModalProjects table tr td:last-child{
		text-align: left;
	}
	
	.icModalProjects table tr td:not(:first-child){
		width: 80% !important;
        margin-left: 20%;
	}

	.icModalProjects table tr{
		position: relative;
	}

	.icModalProjects table tr td:first-child {
		position: absolute;
		top: 5px;
		padding-top:  0 !important;
	}

	.icModalProjects table tr td:nth-child(5),
	.icModalProjects table tr td:nth-child(4),
	.icModalProjects table tr td:nth-child(3) {
		color: rgba(23, 23, 23, 0.50);
	}

	.icModalProjects table tr td.imgsProject img:last-child,
	.icModalProjects table tr td.imgsProject img {
		width: 95%;
		height: 205px;
		object-fit: cover;
		margin-right: 0;
		margin-bottom: 1rem;
	}



	/* Single Proyecto */

	.icModalProjects .post-item table tr td:last-child span{
		display: inline;
	}

	.single .swiper{
		
		.swiper-slide{
			min-height: 250px;
			max-height: 400px;

		}
	}

	/* .single section {
		padding-top: 100px;
	} */

	.single .wp-block-heading{
		margin-top: 1rem;
	}

	.single .ic-content-single ul{
		columns: 1;
		padding-left: 0;
	}

	.single .ic-content-single{
		margin-bottom: 0;
	}

	.single .ic-breadcrumb p{
		margin-left: 0;
		line-height: normal;
	}

	.single .slick-prev,
	.single .slick-next{
		bottom: 21px;
		z-index: 1;
	}

	

	/* Estudio */

	.ic-03 .wp-block-heading, .ic-03 a{
		margin-left: 0;
	}

	.ic-filosofia {
		padding-top: 0;
		padding-bottom: 0;
	}

	/* .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis], */
	.imgFilosofia + div{
		display: none;
	}

	.ic-02 {
		padding-top: 30px;
		padding-bottom: 45px;
		padding-bottom: 0;
	}

	.ic-hitos-container{
		padding-top: 30px;
	}

	body:not(.home) .ic-02 .wp-block-columns > div:nth-child(2){
		display: none;
	}



	.ic-02 img {
		margin-top: 2rem;
		max-height: 470px;
		object-fit: cover;
	}

	.ic-hitos{
		margin-bottom: 100px;
	}

	.ic-hitos::after, .ic-hitos::before{
		content: none;
	}

	.ic-filosofia figure{
		margin-bottom: 30px;
	}
	
	.ic-filosofia img {
		aspect-ratio: 1 / 1;
		object-fit: cover;
	}

	.imgFilosofia{
		order: 2
	}

	.ic-equipo{
		margin: 60px 0;
	}

	/* Contacto */

	.ic-contact{
		margin-top: 100px;
	}

	.ic-google-maps-wrapper {
		height: initial;
		aspect-ratio: 1 / 1;
	}

	.post_type_ic_projects{
		flex-direction: column;
	}
	
	.single .post_type_ic_projects{
		margin-bottom: 0;
	}

	.post_type_ic_projects .post-entry:nth-child(9n+4), .post_type_ic_projects .post-entry:nth-child(9n+9), .post_type_ic_projects .post-entry:nth-child(9n+2),
	.post_type_ic_projects .post-entry{
		width: 100%;
	}

	.single .post_type_ic_projects{
		.post-entry{
			width: 100%;
		}

		.post-entry:nth-child(9n+4), 
		.post-entry:nth-child(9n+9), 
		.post-entry:nth-child(9n+2){
			width: 100%;
		}
	}
	
	.post_type_ic_projects .post-entry{
		&:last-child{
			width: 100%;
		}
	}

	.post_type_ic_projects .post-entry iframe,
	.post_type_ic_projects .post-entry .post-image{
		width: 100%;
		object-fit: cover;
	}
	
	.post_type_ic_projects .post-entry .post-image {
		max-height: inherit;
		width: 100%;
		height: inherit;
		object-fit: cover;
	}

	
	/* Aviso legal */
	.page-id-394 > div ul, .page-id-396 > div ul, .page-id-398 > div ul, .page-id-3 > div ul, .page-id-121 > div ul, .page-id-119 > div ul{
		list-style: none;
	}

	.error404 section, .page-id-394 > div, .page-id-396 > div, .page-id-398 > div, .page-id-3 > div, .page-id-121 > div, .page-id-119 > div{
		padding-top: 30px;
		padding-bottom: 45px;
	}

	/* Footer */
	#toTop{
		bottom: 38rem;
		padding-top: 0;
		padding-bottom: 0;
	}

	.middle-footer{
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.middle-footer > div{
		margin-bottom: 2rem;
	}

	/* .middle-footer .footer-two .ic-rrss{
		display: none;
	} */

	.middle-footer .footer-three .widget-footer-three:not(:first-child){
		float: left;
	}

	.middle-footer .footer-four .widget-footer-four{
		float: left;
	}
	
	.middle-footer .footer-three .widget-footer-three:last-child,
	.middle-footer .footer-four .widget-footer-four:last-child{
		margin-left: 2rem;
	}

	.middle-footer .footer-four .widget-footer-four:last-child a{
		text-transform: inherit;
	}

	/* .middle-footer .footer-three .widget-footer-three .ic-rrss{
		display: flex;
	} */

	.middle-footer .footer-four .widget-footer-four:last-child {
		display: block;
	}

	.middle-footer .footer-five{
		display: none;
	}

	.ic-logos {
		animation: marquee 20s linear infinite;
	}
	
	.ic-logos-container::after,
	.ic-logos-container::before {
		width: 50px;
	}

	footer li, footer p, footer .wp-block-buttons a, footer a {
        font-size: 15px;
    }

	@keyframes marquee {
		0% {
			transform: translateX(0);
		}
	
		100% {
			transform: translateX( calc(-375% - 4rem) );
		}
	}


}

/* // `md` applies to small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) { 


	.div-scrollable, .modal-body .div-scrollable {
		height: calc(100vh - 200px);
	}

	.modal .btn-close{
		top: -2rem;
		right: 0;
	}

	.modal-content{
		padding-top: 165px;
	}

	.single button.mfp-arrow.mfp-arrow-left {
		margin-top: -19px;
		left: 2.6rem;
	}

	.ic-03{
		display: flex;
	}

	.ic-hitos {
        margin-bottom: 0;
		transform: inherit;
    }

	.ic-hitos .slick-arrow{
		top: -71px;
		right: 0;
	}
	
	.ic-hitos .slick-arrow.slick-prev{
		top: -71px;
		right: 45px;
	}

	.ic-hitos .slick-list{
		overflow: visible;
	}

	.ic-hitos .slick-slide{
		padding-left: 0;
		padding-right: 1rem;
	}

	.ic-hitos .slick-slide .wp-block-group div p:first-child {
		font-size: 21px;
	}

	.wp-block-columns {
		gap: 0;
	}

	.ic-04 {
        display: block;
        margin-top: 50px;
        min-height: auto;
    }

	.ic-nofullpage {
		margin-top: 0;
		margin-bottom: 30px;
	}

	.ic-05 .wp-block-heading {
        margin-top: 0;
		padding: 0;
    }

	.slick-prev, .slick-next{
		bottom: -3rem;
		z-index: 1;
	}

	.wpml-ls-legacy-list-horizontal>ul{
		justify-content: center;
	}

	.wpml-ls-item-es::after{
		top: 2px;
		color: var(--color-black)
	}

	.mobile-nav-wrapper .wpml-ls-current-language a{
		font-weight: 500;
		font-family: var(--font-general-medium);
	}

	.middle-footer{
		display: flex;
		flex-direction: column;
		padding: 2rem 1rem 0 1rem;
	}

	.section{
		padding-top: 1rem;
	}

}

/* // `sm` applies to x-small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
	
	/* Proyectos */
	/* a, */
	.ic-menu-projects .wp-block-details summary{
	/* .wp-block-buttons a { */
        font-size: 20px;
    }
	
	.page-id-11,
	.page-id-224,
	.page-id-226,
	.page-id-228,
	.page-id-426,
	.page-id-430,
	.page-id-432,
	.page-id-434{
		.ic-menu-projects{
			summary,
			a{
				font-size: 18px;
			}
		}
	}
	
}
  

/*#endregion */

/**************************/
/******** SECTION *******/
/**************************/
/*#region */

/*#endregion */


.lg-outer .lg-thumb-outer,
.lg-backdrop{
	background-color: #E4E5DA;
}

.lg-toolbar .lg-icon,
.lg-counter,
.lg-sub-html{
	color: var(--color-text);
	font-family: var(--font-general);
}

.lg-sub-html{
	font-family: var(--font-general);
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
}

.lg-outer .lg-thumb-item{
	border-width: 1px;
	border-radius: 0;
	border-color: var(--color-bg);
}

.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover{
	border-color: var(--color-text)
}

.lg-next,
.lg-prev{
	background-color: transparent;
	width: 100px;
	height: 100%;
	left: 0;
	top: 0;
}

.lg-next{
	left: initial;
	right: 0;
}

.lg-next::before,
.lg-prev::after{
	content: '';
	position: absolute;
    top: calc(50% - 18px);
    left: 0;
	width: 36px;
    height: 36px;
	background-size: contain;
    background-repeat: no-repeat;
    background-image: url(images/icons/arrow-button-black.svg);
}

.lg-prev::after{
    transform: rotate(180deg);
}

.lg-next::before{
	left: inherit; 
	right: 0;
}

@media (min-width: 1660px) and (max-width: 1680px) and (min-height: 1330px) and (max-height: 1350px) {
	/* Tus estilos específicos para esa resolución */
	.ic-03 .wp-block-image,
	.ic-03 .wp-block-video {
		height: 940px;
	}

	.ic-03{
		min-height: 940px;
	}

	.middle-footer {
		padding: 85px 55px;
	}
  }
  