/*
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
*/
.home #page {
	overflow: visible;	
}

.reveal {
	overflow: hidden;	
	clip-path: polygon(0 0, 0% 0, 0% 100%, 0 100%);
}

.line-bottom {
    position: relative;
	padding-bottom: 5px;
}

.line-bottom::before, .line-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 2px;
    background-color: #ffffff;
}

.line-bottom::before {
    left: 0;
    width: 100%;
}

.line-bottom::after {
    left: -100vw;
	width: 100vw;
}

.e-search-input {
	margin-bottom: 0 !important;
}

/* BUTTON */
.producto-item .producto-item-image img {
	transition: all 0.4s ease;
}

.producto-item:hover .producto-item-image img {
	transform: scale(1.1);
}

.producto-item-link span {
	text-decoration: underline;
}

.producto-item-link a {
	display: block;
    font-size: 20px;
    color: #fff;
    text-align: center;
    text-decoration: underline;
    transition: all 0.4s ease;
}

.producto-item-link a:hover {
	letter-spacing: 1px;	
}

body .tyesa-button {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	border: 1px solid var(--e-global-color-primary);
	border-radius: 50px;
	padding: 10px 20px;
	background-color: var(--e-global-color-primary);
	font: 1.25rem / 1 "Barlow", Sans-serif;
	color: var(--e-global-color-accent);
	overflow: hidden;
	cursor: pointer;
	transition: background-color 0.3s;
}

body .tyesa-button.border {
	border-color: var(--e-global-color-accent);
}

.button__icon-wrapper {
	flex-shrink: 0;
	width: 25px;
	height: 25px;
	position: relative;
	color: var(--e-global-color-primary);
	background-color: var(--e-global-color-accent);
	border: 1px solid var(--e-global-color-primary);
	border-radius: 50%;
	display: grid;
	place-items: center;
	overflow: hidden;
}

body .tyesa-button:hover,
#page .wpcf7-submit.tyesa-button:hover {
	background-color: var(--e-global-color-accent);
	color: var(--e-global-color-primary);
}

body .tyesa-button:hover .button__icon-wrapper {
	color: #000;
}

#page .wpcf7-submit.tyesa-button path {
	color: var(--e-global-color-primary);
}

.button__icon-svg--copy {
  position: absolute;
  transform: translate(-150%, -100%);
}

body .tyesa-button:hover .button__icon-svg:first-child {
  transition: transform 0.3s ease-in-out;
  transform: translate(150%, 100%);
}

body .tyesa-button:hover .button__icon-svg--copy {
  transition: transform 0.3s ease-in-out 0.1s;
  transform: translate(0);
}


/* SCROLL HOME SECTION */
.scroll_wrap {
  position: relative;
}

.scroll_trigger {
  position: relative;
}

.scroll_background {
	height: 100vh;
}

.scroll_background  img {
	height: 100%;
}

.scroll_img {
	width: 100%;
	height: 100vh;
	position: sticky;
	top: 0;
}

.scroll_track {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.scroll_sticky {
    width: 100%;
    height: 100vh;
    position: sticky;
    top: 0;
}

.scroll_item {
	position: absolute;
    top: 0%;
    bottom: 0%;
    left: 0%;
    right: 0%;
}


/* SERVICES */
.services-item {
	transition: background 0.4s ease-out !important;
}

.services-item:hover {
/*     background: linear-gradient(120deg, rgba(34, 51, 110, 1) 0%, rgba(79, 111, 181, 1) 35%, rgba(82, 108, 191, 1) 70%, rgba(49, 10, 140, 1) 100%); */
	background: var(--e-global-color-primary);
}

.services-item:hover .services-item-text * {
	transition: all 0.4s ease;
}

.services-item:hover .services-item-text * {
	color: var(--e-global-color-accent);
}

.services-item .services-item-arrow img {
	transform: scale(0.7);
	transition: all 0.4s ease;
}

.services-item:hover .services-item-arrow img {
	transform: scale(1);
	filter: brightness(0) saturate(100%) invert(86%) sepia(85%) saturate(0%) hue-rotate(158deg) brightness(102%) contrast(104%);
}

.servicio-item:hover .servicio-item-text {
	max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    padding-top: 20px;
}

.servicio-item-text {
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    padding-top: 0;
    overflow: hidden;

    transition:
        max-height 0.5s ease,
        opacity 0.5s ease,
        transform 0.3s ease,
        padding-top 0.8s ease;
}

.servicio-item-text ul {
	text-align: left;
}

/* CONOCENOS */
.elementor-divider__text span {
    font-size: 2.5rem;
}

.producto-item:hover .producto-item-content {
	max-height: 100%;
	background: rgb(34 51 110 / 85%);
	transition: max-height 0.6s ease;
}

.producto-item-content {
	max-height: 0;
	min-height: 160px;
	height: 100%;
    overflow: hidden;
	background: rgb(34 51 110);
    transition: max-height 0.6s ease;
}

.producto-item:hover .producto-item-descripcion {
	max-height: 500px;
	opacity: 1;
	transition: max-height 0.6s ease;
}

.producto-item-descripcion {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
    transition: max-height 0.6s ease;
}

.producto-item-descripcion .elementor-shortcode,
.producto-item-descripcion-conduccion .elementor-shortcode {
    font-size: 16px;
    color: var(--e-global-color-accent);
}

/* CONTACTO */
.form-group p {
	margin-bottom: 0;
	display: flex;
	gap: 20px;
}

.wpcf7-form-control-wrap {
    width: 100%;
}

.wpcf7-form-control-wrap .wpcf7-form-control::placeholder {
	color: var(--e-global-color-accent);
	opacity: 1;
}

.wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-text,
.wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-textarea {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var( --e-global-color-accent );
	padding: 10px;
	font: 400 1.5rem / 1 "Barlow", sans-serif;
	color: var( --e-global-color-accent );
}


.wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-textarea {
	resize: none;
	height: 120px;
}

#page .wpcf7-submit,
#page .wpcf7-submit:hover {
	background: unset;
}

.tyesa-button.wpcf7-form-control.wpcf7-submit {
	margin-top: 40px;
}

.archive.tax-product-category .e-loop-item.type-product:last-child .producto-item .producto-item-content {
    max-height: 100%;
	background-color: transparent;
}


.archive.tax-product-category .e-loop-item.type-product:last-child .producto-item .producto-item-descripcion {
	max-height: 100%;
    opacity: 1;
}

.archive.tax-product-category .e-loop-item.type-product:last-child .producto-item .producto-item-content h3.elementor-heading-title {
	font-size: 40px;
	line-height: 1.2;
}

.archive.tax-product-category .e-loop-item.type-product:last-child .producto-item .producto-item-content p {
	font-size: 18px;
}

.archive.tax-product-category .e-loop-item.type-product:last-child .producto-item:hover .producto-item-image img {
	transform: scale(1);
}

.rc-grid {
    display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.rc-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
}

.rc-category-card {
    width: 100%;
}

.rc-category-dropdown {
	opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.5s ease;
}

.rc-category-card:hover .rc-category-dropdown {
	opacity: 1;
    max-height: 500px;
    transition: max-height 1.4s ease;
}

.rc-category-title {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--e-global-color-primary);
    font-size: 32px;
    font-weight: 700;
	text-align: center;
    color: var(--e-global-color-accent);
}

.rc-category-product {
	padding: 12px 0;
	background-color: #F5F5F5;
	color: var(--e-global-color-text);
    font-size: 18px;
    text-align: center;
	transition: all 0.3s ease;
    cursor: pointer;
}

.rc-category-product:hover,
.rc-category-product.active {
	background-color: #e7e7e7;
	color: var(--e-global-color-primary);
}

.rc-category-content:has(.rc-content-inner) {
	margin-top: 40px;
	min-height: 120px;
}

.rc-category-content.loading {
	opacity: 0.5;
	pointer-events: none;
}

.rc-content-inner {
	background-color: #f5f5f5;
	padding: 40px;
}

.rc-content-title {
	margin-bottom: 5px;
    font-size: 32px;
    line-height: 1.2 !important;
    color: var(--e-global-color-primary);
	text-transform: uppercase;
}

.rc-content-description p {
	margin-bottom: 20px;
	font-size: 18px;
    line-height: 1.6;
	color: var(--e-global-color-text);
}

.rc-content-button {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.custom-info-table {
    width: 100%;
	margin-bottom: 0 !important;
    border: 0 !important;
}

.custom-info-table td {
	width: 50%;
    vertical-align: top;
	border: 0;
	padding: 0 40px;
}

.custom-info-table td:first-child {
    border-right: 3px solid var(--e-global-color-primary);
}

.custom-info-table h3 {
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--e-global-color-primary);
}

.custom-info-table ul {
    margin: 0;
    padding-left: 20px;
}

.custom-info-table li {
    font-size: 18px;
	font-weight: 300;
    line-height: 1.6;
    color: var(--e-global-color-text);
}

@media(max-width: 768px) {
	.rc-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.rc-category-title {
		font-size: 24px;
	}
}

@media (max-width: 600px) {
	.elementor-widget-text-editor br {
		display: none;
	}
	
	.parallax-mobile {
		background-attachment: fixed;	
	}
	
	.rc-category-grid {
		grid-template-columns: 1fr;
	}
	
	.rc-content-inner {
		padding: 20px;
	}
	
	.custom-info-table,
    .custom-info-table tr,
    .custom-info-table td {
        display: block;
        width: 100%;
    }
	
	.custom-info-table tbody {
		display: block;
	}

    .custom-info-table td {
        padding: 20px 0;
    }
	
	.custom-info-table td:first-child {
		border-right: 0;
		border-bottom: 3px solid var(--e-global-color-text);
	}

    .custom-info-table h3 {
        font-size: 20px;
    }

    .custom-info-table li {
        font-size: 16px;
        line-height: 1.4;
    }
	
	.rc-grid {
		grid-template-columns: repeat(1, 1fr);
	}
}