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

::-webkit-scrollbar {
	width: 6px;
}

::-webkit-scrollbar-track {
	background-color: var(--e-global-color-primary);
}

::-webkit-scrollbar-thumb {
	background-color: var(--e-global-color-text);
}

.mht-button {
	position: relative;
	min-width: 160px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;	
	border: 1px solid var(--e-global-color-primary);
	border-radius: 0;
	background-color: var(--e-global-color-accent);
	font-family: "Titillium Web", Sans-serif;
	font-weight: 300;
	font-size: 1.25rem;
	color: var(--e-global-color-primary);
	transition: all 0.3s ease;
	cursor: pointer;
	z-index: 1;
}

.mht-button.font-bold {
	font-weight: 600;
}

.mht-button.full {
	background-color: var(--e-global-color-primary);
	color: var(--e-global-color-accent);
}

.mht-button::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 0;
	height: 100%;
	background-color: var(--e-global-color-primary);
	transition: all 0.3s ease;
	z-index: -1;
}

.mht-button.full::after {
	background-color: var(--e-global-color-secondary);
}

.mht-button:hover {
	color: var(--e-global-color-accent);
}

.mht-button.full:hover {
	border-color: var(--e-global-color-secondary);
}

.mht-button:hover::after {
	left: 0;
	width: 100%;
}

.list-states {
	position: relative;
	z-index: 10;
}

.list-states span {
	display: inline-block;
}

.list-states span:hover {
    color: var(--e-global-color-primary);
	cursor: pointer;
}

svg.cobertura {
    animation: jump 2s infinite alternate;
}

.cobertura g.active path {
    fill: var(--e-global-color-secondary);
}

@keyframes jump {
	0% {
		transform: translateY(0);
	}
	100% {
		transform: translateY(-10px);
	}
}



/* VERTICAL SLIDER */
.vertical-slider__wrapper {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 600px;
}

.vertical-slider__left {
	height: 100%;
	width: 50%;
	position: absolute;
	top: 0;
	left: 0;
	transition: transform 0.5s ease-in-out;
}

.vertical-slider__right {
	height: 100%;
	position: absolute;
	top: 0;
	left: 50%;
	width: 50%;
	transition: transform 0.5s ease-in-out;
}

.vertical-slider__box {
	position: relative;
	height: 100%;
	width: 100%;
	background: var(--bg) center center / cover no-repeat;
}

.vertical-slider__left--title {
	margin-bottom: 0;
    max-width: 50%;
    position: absolute;
    bottom: 40px;
    left: 0;
    background-color: rgb(255 255 255 / 0.75);
    padding: 10px 40px;
    font: 600 4rem / 1 "Titillium Web", Sans-serif;
	text-align: center;
    color: #525251;
    z-index: 1;
}

.vertical-slider__right--title {
	margin-bottom: 0;
    max-width: 50%;
    position: absolute;
    top: 40px;
    right: 0;
    background-color: rgb(0 0 0 / 0.75);
    font: 600 4rem / 1 "Titillium Web", Sans-serif;
	text-align: center;
    z-index: 1;
}

.vertical-slider__left--title a,
.vertical-slider__right--title a {
	width: 100%;
    height: 100%;
    display: block;
	padding: 10px 40px;
}

.vertical-slider__right--title a {
	color: #FFFFFF;
}

.vertical-slider__right--title a:hover {
	color: #FFFFFF;
}

.vertical-slider__buttons {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 1;
}

.vertical-slider__button {
    width: 36px;
    height: 40px;
	position: absolute;
    top: 0;
    left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
    border: none;
    outline: none;
    cursor: pointer;
}

.vertical-slider__button.btn--down {
	background-color: #F26722;
	transform: translateX(-100%);
}

.vertical-slider__button.btn--up {
	background-color: #EEA200;
    transform: translateY(-100%);
}

.vertical-slider__button img {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.vertical-slider__button.btn--down img {
	transform: rotate(180deg)
}


/* PRODUCTOS */
.products {
	display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.products .item {
	position: relative;
	flex: 0 1 calc(25% - 20px);
}

.products .item:hover {
	z-index: 1;
}

.products .item .image-box {
	border: 1px solid #B9B9B9;
	border-bottom: 0;
}

.products .item .image-box img {
	display: block;
	height: 100%;
	object-fit: cover;
}

.products .item .content {
	position: relative;
	text-align: center;
	color: #ffffff;
}

.products .item .content h3 {
    margin-bottom: 0;
    padding: 10px;
    background-color: var(--e-global-color-primary);
    font: 700 1.25rem / 1 var(--e-global-typography-primary-font-family);
    color: #ffffff;
}

.products .item .content p {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 0;
	padding: 0 10px 20px 10px;
	background-color: var(--e-global-color-primary);
    font: 400 1rem / 1.4 var(--e-global-typography-primary-font-family);
    color: #ffffff;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.products .item:hover .content p {
	height: auto;
	visibility: visible;
	opacity: 1;
}



/* SERVICIOS */
.services-container {
    position: relative;
}

.service-item-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 50%;
    background-color: #F2F2F2;
    clip-path: polygon(0 0, 100% 0, 100% 0%, 0% 0%);
}

.service-item-bottom {
    position: absolute;
    bottom: 0;
    right: 0;
    width: calc(50% + 40px);
    height: 25%;
    background-color: #F2F2F2;
	clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
}


/* CONTACTO */
.contact-items .the7-box-wrapper {
	border-right: 1px solid #EEA200;
    background: linear-gradient(180deg, rgba(255, 202, 0, 1) 50%, rgba(238, 162, 0, 0.75) 100%) !important;
}

.contact-items .the7-box-wrapper:hover .box-heading {
	letter-spacing: 1px;
}

.contact-items .elementor-element:last-child .the7-box-wrapper {
	border-right: 0;
}

.contact-items .box-content-wrapper {
    justify-content: center;
}

.contact-items .box-content-wrapper .box-content {
	flex-grow: 0;
}

.contact-items .the7-box-wrapper .box-heading {
	transition: all 0.3s ease;
}

.wpcf7-form-control-wrap .wpcf7-form-control {
    border: 1px solid var(--e-global-color-text);
	font: 300 1rem / 1 "Titillium Web", Sans-serif !important;
}

.wpcf7-form-control-wrap textarea.wpcf7-form-control {
	resize: vertical;
	min-height: 50px;
	height: 160px;
}

.wpcf7-form-control-wrap .wpcf7-form-control::placeholder {
	opacity: 1;
}

#page .wpcf7-submit:hover {
	background: var(--e-global-color-primary); !important;
}

@media (max-width: 1024px) {
	.products .item {
		flex-basis: calc(33.3% - 20px);
	}
}

@media (max-width: 768px) {
	/* HOME */
	.svg-mht-map {
    	position: relative !important;
	}
	
	.svg-mht-map svg {
		width: 100%;
		height: auto !important;
	}
	
	.vertical-slider__wrapper {
		height: 400px;
	}
	
	.vertical-slider__left--title,
	.vertical-slider__right--title {
		padding: 0;
		font-size: 2.5rem;
	}

	/* PRODUCTOS */
	.products .item {
		flex-basis: calc(50% - 20px);
	}
}

@media (max-width: 600px) {
	/* INICIO */
	p br {
		display: none;
	}
	
	.aviso-privacidad-text p br {
		display: unset;
	}

	.vertical-slider__wrapper {
		height: 280px;
	}
	
	.vertical-slider__left--title,
	.vertical-slider__right--title {
		font-size: 1.25rem;
	}
	
	.vertical-slider__left--title a,
	.vertical-slider__right--title a {
		padding: 5px;
	}

	/* PRODUCTOS */
	.products .item {
		flex-basis: 100%;
	}
	
	.products .item .content p {
		position: relative;
		height: auto;
		opacity: 1;
		visibility: visible;
	}

	/* SERVICIOS */
	.service-item-top {
		width: 75%;
		height: 25%;
	}
	
	.service-item-bottom {
		width: 75%;
	}
}