/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

.branding a img, .branding img{
    width: 150px;
}
.mobile-header-bar .mobile-branding img{
    width: 140px;
}
p.iconosfooter a {
    text-decoration: none;
}
p.iconosfooter i {
    font-size: 20px;
    width: 30px;
    text-align: center;
}
p.iconosfooter {
    line-height: 22px;
}
.imagenfooter img {
    width: 250px;
}
#footer.solid-bg{
background: #FF0000;
background: linear-gradient(180deg, rgba(255, 0, 0, 1) 0%, rgba(158, 8, 8, 1) 100%);
}
#footer #presscore-contact-info-widget-3{
	margin-top: -45px;	
}
.datos-footer{
	display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 5px;
	margin-bottom: 5px;
}
.datos-footer:last-child{
	align-items: start;
}
.datos-footer img{
	 justify-self: center;
	 max-height: 23px;
}
.datos-footer p{
	margin-bottom:0;
}
p.iconosfooter.social-icon a {
    display: flex;
    align-items: center;
    gap: 17px;
}
.iconosfooter.social-icon i{
	font-size: 37px;
}
@media screen and (max-width:991px){
	#footer #presscore-contact-info-widget-3{
		margin-top: 0px;	
	}
}
@media screen and (min-width:992px){
	#bottom-bar .wf-container-bottom .wf-float-right{
		flex-flow: nowrap;
		gap: 20px;
		flex-direction: row-reverse;
	}
}
#bottom-bar.solid-bg{
    background: transparent;
}
.tituloflecha h1::before, .tituloflecha h2::before{
    content: '';
    width: 50px;
    height: 40px;
    position: absolute;
    background: url(https://espaciosurbanos.co/wp-content/uploads/2025/11/imagenlat.png);
    background-size: contain;
    background-repeat: no-repeat;
    left: -30px;
    top: 5px;
}
.contenedoroverlay .wpb_raw_code .wpb_wrapper a h1:before{
     content: '';
    width: 50px;
    height: 40px;
    position: absolute;
    background: url(https://espaciosurbanos.co/wp-content/uploads/2025/11/imagenlat.png);
    background-size: contain;
    background-repeat: no-repeat;
    left: 0px;
    top: 30px;
}
.accordeonproyectos .vc_tta-panel-heading{
    background:transparent !important;
    border-color:transparent !important;
}
.overlayhome .mask .bb-description::before {
    content: '';
    width: 50px;
    height: 40px;
    position: absolute;
    background: url(https://espaciosurbanos.co/wp-content/uploads/2025/11/imagenlat.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin-left:-30px;
}
.iconosinfo2{
    font-size:20px;
    line-height:25px;
}
.iconosinfo2 i{
    font-size: 30px;
    width: 40px;
    text-align: center;
}
.iconosinfo2 a {
    text-decoration: none;
}

textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required {
    height: 80px !important;
    width: 100% !important;
}
.intl-tel-input {
    margin-bottom: -15px;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: #FF0000;
    display: table;
    margin: 0 auto;
    font-size: 20px;
    padding: 15px 40px;
    margin-top: 20px;
}
/* Contenedor fijo: derecha y centrado vertical */
.floating-social{
  position: fixed;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

/* Botón cuadrado simple (sin rotar) */
.floating-social .fs-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    background: #ff0000;
    color: white;
    padding: 10px;
    border-radius: 50%;
}
/* Ícono */
.floating-social .fs-item img{
 width:40px;
}
a.botonwhatsapp {
    position: fixed;
    right: 10px;
    bottom: 50px;
    z-index: 100;
}
a.botonwhatsapp img{
    width:50px;
}
.testimoniosclientes img{
    margin-top:20px;
}
.testimoniosclientes .testimonial-item::before {
    content: '';
    background: url(https://espaciosurbanos.co/wp-content/uploads/2025/11/testimonio1.png.webp);
    width: 25px;
    height: 30px;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    left: 20px;
}
.testimoniosclientes .testimonial-item::after {
    content: '';
    background: url(https://espaciosurbanos.co/wp-content/uploads/2025/11/testimonio2.png.webp);
    width: 25px;
    height: 30px;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    right: 20px;
    top: 80px;
}
h1.sacartitulo {
    line-height: 1em;
    color: white;
    position: absolute;
    top: 140px;
    z-index:99;
}
.gallery-interactiva i{
    background:transparent !important;
}
h1.sacartitulo b {
    margin-left: 50px;
}
@media screen and (min-width:769px){
	h1.sacartitulo {
		font-size: 62px;
	}
}
@media screen and (min-width:991px){
	h1.sacartitulo {
		font-size: 80px;
	}
}
@media screen and (min-width:1119px){
	h1.sacartitulo {
		font-size: 95px;
	}
}
@media screen and (min-width:769px){
    .mostrardesktop{
        display:none !important;
    }
    .tituloproyectodestacado h2 {
     margin-left:-50px !important;
    }
}
@media screen and (max-width:768px){
    .tituloflecha h1::before, .tituloflecha h2::before{
        left:-10px !important;
    }
    .floating-social{
        display:none;
    }
    .tituloproyectodestacado h2 {
        margin: 0 auto !important;
        display: block !important;
        text-align: center;
    }
    .tituloflecha *{
        text-align:center;
    }
    .tituloflecha h1{
        line-height: 40px !important;
        font-size: 30px;
    }
    .buttonprincipal{
        display:table;
        margin:0 auto;
    }
    footer *{
        text-align:center;
    }
    .iconosinfo2{
        font-size:15px;
        line-height:18px;
    }
    .ocultarmovil{
        display:none !important;
    }
    .centrartitulo * {
        text-align: center;
        display: table !important;
        margin: 0 auto;
    }
    .centrarimagen figure{
        display:table !important;
        margin:0 auto !important;
    }
    .connector-svg{
        display:none;
    }
    .formulariohome input.wpcf7-form-control.wpcf7-submit.has-spinner{
        margin: 0 auto !important;
    }
    .acordeon-titulo{
        margin-left:15px !important;
    }
}
.overlayhome .bb-top-title {
    position: absolute !important;
    bottom: 0;
    text-align: left !important;
}
.overlayhome .bb-top-title b {
    border-bottom: 2px solid #FF0000;
    margin-bottom: 10px !important;
    display: table;
}
.buttoncustom{
border-width: 0px;
    color: #FFFFFF;
    background: #FF0000 !important;
    padding: 18px 25px 18px 25px;
    border-radius: 1px; 
    font-size: 18px;
    line-height: 20px;
    margin-top: 20px;
}
.tituloconfondo h3 {
    background: #FF0000;
    padding-top: 30px !important;
    padding-bottom: 10px !important;
    margin-bottom: 20px !important;
}
.tituloconfondo2 h3 {
    background: #3E4658;
    padding: 10px 30px !important;
    display: table !important;
    margin-left:10px !important;
}
.tituloconfondo3 h3 {
    background: #3E4658;
    padding: 10px 30px !important;
    display: table !important;
    margin:0 auto !important;
    margin-top: 40px !important;
}
.formulariohome form input:not(.wpcf7-submit), .formulariohome form textarea{
    background: transparent !important;
    border: 1px solid #3E4658 !important;
    
}
.formulariohome input.wpcf7-form-control.wpcf7-submit.has-spinner {
    display: inherit !important;
    margin: inherit !important;
    margin-top: 10px !important;
}
.fullimagen .vc_single_image-wrapper, .fullimagen .vc_figure{
    display:inherit !important;
}
.fullimagen img{
    width:100% !important;
}
/* NEGRO: 1,4,5,8,9,... */
.equipo .dt-css-grid > .wf-cell:nth-child(4n+1) .team-desc,
.equipo .dt-css-grid > .wf-cell:nth-child(4n+4) .team-desc {
    background: #AFCED0;
    color: #fff;
}

/* AMARILLO: 2,3,6,7,... */
.equipo .dt-css-grid > .wf-cell:nth-child(4n+2) .team-desc,
.equipo .dt-css-grid > .wf-cell:nth-child(4n+3) .team-desc {
    background: #f3dfb9; /* ajusta al amarillo que uses */
    color: #000;
}
.equipo a {
    pointer-events: none !important;
}
.equipo .team-media{
	align-content: center;
}
.equipo .team-media>a {
    width: 220px;
}
.equipo .team-container {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }
    .equipo .team-container .team-media img {
        width: 500px;
        height: auto;
        object-fit:cover;
        z-index:1;
    }
    .equipo .team-container .team-desc {
        justify-content: center;
        z-index: 2;
		min-height: 574px;
    }
@media (min-width: 769px) {
	 .equipo .team-container .team-desc {
		min-height: fit-content;
		padding: 40px 20px !important;
    }
}
    .equipo .team-container .team-author-name a {
        background: #3E4658;
        color: white;
        padding: 20px;
        display: table;
        margin-bottom: 10px !important;
        margin-left: -50px;
		font-size: 22px;
		min-height: 60px;
		min-width: 345px;
    }
.equipo .team-container .team-author-name a span{
	display: block;
	font-size: 15px;
	font-weight: lighter;
    line-height: 1.2em;
}
@media (max-width: 600px){
    .equipo .wf-cell{
        margin-top: 20px;
    }
    .equipo .team-container {
        flex-direction: column;
        max-width: 280px;
    }
    .equipo .team-media {
        margin: auto;
    }
    .equipo .team-container .team-desc{
        min-height: fit-content;
        padding: 0px 20px 20px 20px !important;
    }
    .equipo .team-container .team-author-name a{
        margin: auto;
        text-align: center;
        min-width: 240px;
    }
    .equipo .team-author{
        margin-top: -43px;
    }
}
.elementomovil img{
    margin:0px !important;
}
.conectordashed{
    margin-bottom:50px !important;
}
.conectordashed {
  position: relative;
  z-index: 2; /* por delante de la línea */
}

/* El SVG que dibuja el conector */
.connector-svg {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1; /* por detrás de los bloques */
}

/* Estilo de la línea */
.connector-svg path {
  fill: none;
  stroke: #000;              /* color de la línea */
  stroke-width: 2;
  stroke-dasharray: 6 6;     /* dashed */
}
.tituloproyectodestacado h2 {
    display: table;
    background: #ff0000;
    padding: 10px 20px !important;
    margin-bottom: 20px !important;
}

.gallery-principal-wrap {
    width: 100%;
    margin-bottom: 0px;
    position: relative;
    display: block;
}
/* Lupa sobre la imagen grande */
.gallery-principal-wrap::after {
    content: "";
    position: absolute;
    inset: 50%;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: rgba(0,0,0,0.55);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 26px 26px;
    /* SVG de una lupa en data URI */
    background-image: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='28' cy='28' r='14' fill='none' stroke='%23ffffff' stroke-width='3'/%3E%3Cline x1='37' y1='37' x2='48' y2='48' stroke='%23ffffff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
    opacity: 0;
    pointer-events: none; /* para que el click llegue a la imagen */
    transition: opacity .2s ease;
}

/* Mostrar la lupa al hacer hover en la imagen grande */
.gallery-principal-wrap:hover::after {
    opacity: 1;
}

.gallery-principal-wrap .gallery-big-image {
    width: 100%;
    height: auto;
    border-radius: 0px;
    display: block;
}

.gallery-thumbs .dt-owl-item img {
    cursor: pointer;
    border-radius: 6px;
    transition: opacity .2s ease;
}

.gallery-thumbs .dt-owl-item:hover img {
    opacity: 0.7;
}
/* Bloquear totalmente PSWP en thumbs */
.gallery-thumbs figure,
.gallery-thumbs a.rollover,
.gallery-thumbs .gallery-rollover,
.gallery-thumbs .photoswipe-item {
    pointer-events: none !important;
}

/* Solo la imagen sí recibe click */
.gallery-thumbs img {
    pointer-events: auto !important;
    cursor: pointer;
}
.titulointerventoria h2 {
    background: #1AAAA6;
    padding: 15px 20px !important;
}
.titulointerventoria2 h2 {
    background: #EDB56B;
    padding: 15px 20px !important;
}
.titulointerventoria3 h2 {
    background: #FF855A;
    padding: 15px 20px !important;
}


.acordeon-proyectos {
    width: 100%;
}

/* Título tipo imagen: rojo + línea inferior */
.acordeon-titulo {
    width: 90%;
    padding: 8px 0 6px;
    margin: 0;
    border: none;
    border-bottom: 2px solid #f5b7b7; /* línea rosada similar a la imagen */
    background: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff0000;
    font-size: 26px;
    font-weight: 600;
    font-family: "Montserrat", Arial, sans-serif;
    cursor: pointer;
    text-align: left;
}

.acordeon-titulo:focus {
    outline: none;
}

.acordeon-caret {
    font-size: 0.8em;
    transition: transform 0.2s ease;
}

.acordeon-panel {
    max-height: 0;
    overflow: hidden;
    padding: 0;              /* sin padding al estar cerrado */
    opacity: 0;
    transition:
        max-height 0.25s ease,
        opacity 0.25s ease,
        padding 0.25s ease;
}

.acordeon-panel.abierto {
    opacity: 1;
    padding: 15px 0;         /* padding cuando está abierto */
}

.projects-strip {
  display: flex;
  width: 100%;
  min-height: 360px;
  overflow: hidden;
  gap: 0;
}

.ps-item {
  position: relative;
  flex: 1 1 0;
  min-height: 500px;
  background-size: cover;
  background-position: center center;
  transition: flex 0.35s ease, transform 0.35s ease;
}

/* Imagen ampliada */
.ps-item--image.is-open {
  flex: 3 1 0;
}

/* Overlay oscuro y contenido */
.ps-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.5) 60%,
    rgba(0,0,0,0.85) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px 32px;
  box-sizing: border-box;
}

/* Botón + */
.ps-plus {
  position: absolute;
  bottom: 22px;
  right: 22px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: #ff0000;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ps-plus:hover {
  transform: scale(1.05);
  box-shadow: 0 0 0 4px rgba(255,0,0,0.35);
}

/* Texto grande que antes estaba en ps-item--text */
.ps-detail {
  max-width: 420px;
  color: #ffffff;
  z-index: 2;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.ps-detail h3 {
  font-size: 22px;
  letter-spacing: 1px;
  margin: 0 0 10px;
  color:white;
}

.ps-detail p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 16px;
}

.ps-link {
  font-size: 14px;
  color: #ff0000;
  text-decoration: none;
  font-weight: 600;
}

.ps-link:hover {
  text-decoration: underline;
}

/* Mostrar texto solo cuando el panel está abierto */
.ps-item--image.is-open .ps-detail {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Opcional: pequeño oscurecimiento al pasar por otros paneles */
.ps-item--image:not(.is-open) {
  filter: grayscale(0.1) brightness(0.8);
}

/* Mobile: mantiene fila horizontal; permite hacer scroll lateral si no cabe */
@media (max-width: 768px) {
  .projects-strip {
    overflow-x: auto;
  }

  .ps-item {
    min-width: 80%;
  }
}



/* Contenedor base */
.contenedoroverlay {
  position: relative;
}

/* Quita espacios extra del raw */
.contenedoroverlay .wpb_raw_code {
  margin: 0 !important;
}

/* Capa overlay ocupando toda la imagen, SIEMPRE visible */
.contenedoroverlay .wpb_raw_code .wpb_wrapper {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  z-index: 2;
}

/* El <a> ocupa toda la imagen */
.contenedoroverlay .wpb_raw_code .wpb_wrapper a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  background: rgba(0, 0, 0, 0.5); /* default para todos */
  text-decoration: none;
}
.contenedoroverlay .wpb_raw_code .wpb_wrapper a:hover{
    background:transparent;
}
/* Fondo del overlay (por defecto: negro semi-transparente) */
.contenedoroverlay .wpb_raw_code .wpb_wrapper a::before {
  content: "";
  position: absolute;
  inset: 0;
  mix-blend-mode: multiply;
  z-index: 1;
  opacity: 0; /* inicialmente sin fondo */
  transition: opacity 0.3s ease;
}

/* Colores especiales para cada overlay */
.contenedoroverlay .wpb_raw_code .wpb_wrapper a.uno::before {
  background: rgba(26, 170, 176, 0.5);
}

.contenedoroverlay .wpb_raw_code .wpb_wrapper a.dos::before {
  background: rgba(237, 181, 107, 0.5);
}

.contenedoroverlay .wpb_raw_code .wpb_wrapper a.tres::before {
  background: rgba(255, 133, 90, 0.5);
}

/* Mostrar SOLO el fondo al hover (texto siempre visible) */
.contenedoroverlay:hover .wpb_raw_code .wpb_wrapper a::before {
  opacity: 1;
}

/* Textos por encima del overlay */
.contenedoroverlay .wpb_raw_code .wpb_wrapper a h1,
.contenedoroverlay .wpb_raw_code .wpb_wrapper a p {
  position: relative;
  z-index: 2;
  margin: 0;
}

/* H1 centrado */
.contenedoroverlay .wpb_raw_code .wpb_wrapper a h1 {
  position: absolute;
  color: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.6em 1.2em;
  text-align: center;
  font-size: 2rem; /* ajusta al gusto */
}

/* P en la esquina inferior izquierda */
.contenedoroverlay .wpb_raw_code .wpb_wrapper a p {
  position: absolute;
  left: 20px;
  bottom: 20px;
  font-size: 0.9rem; /* ajusta al gusto */
}

.contenedoroverlay .wpb_raw_code .wpb_wrapper a p b {
  border-bottom: 2px solid #FF0000;
  margin-bottom: 10px !important;
  display: table;
}