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

/* INICIO */
.image-box {
	position: relative;
}

.image-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -50%;
    width: 100%;
    height: 150%;
    border: 1px solid var(--e-global-color-primary);
    border-radius: 50px 50px 0 0;
    transform: translate(0, -50%);
    z-index: -1;
}

.text-vertical-reverse {
	writing-mode: vertical-rl;
    transform: rotate(-180deg);
}


/* BUTTON */
.kuik-button {
	position: relative;
    display: inline-block;
    width: auto;
    height: auto;
    background-color: transparent;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.kuik-button span {         
    position: relative;
	width: 100%;
    display: inline-block;
	border: 2px solid var(--e-global-color-primary);
	border-radius: 10px;
	padding: 0.625em 2.5em;
	font: 400 1rem / 1 "Francy", Sans-serif;
	letter-spacing: 2px;
	color: var(--e-global-color-text);
  	transition: 0.2s 0.1s;
}

.kuik-button::before {
	content: '';
	position: absolute;
	background-color: var(--e-global-color-primary);
  	transition: 0.3s ease-out;
}

.kuik-button span:hover {
	color: rgb(28, 31, 30);
	transition: 0.2s 0.1s;
}

.kuik-button::before {
	bottom: 0; left: 0; right: 0; 
	height: 100%; width: 100%;
}

.kuik-button:hover::before {
  	height: 0%;
}

#page .wpcf7-submit {
	padding: 0 !important;
}

#page .wpcf7-submit:hover {
	background-color: transparent !important;
}


/* SLIDER PORFOLIO */
.splide__list li {
	position: relative;
	padding: 0.625em;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
	background-image: var(--bg-img);
    background-position: center center;
    background-size: cover;
	background-repeat: no-repeat;
	cursor: pointer;
}

.splide__list li h3 {
	position: relative;
	color: #ffffff;
	text-shadow: 0 3px 6px rgb(0 0 0 / 75%);
	z-index: 1
}

.splide__list li .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgb(255,255,255);
	background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(48,48,48,0.5) 100%);
	z-index: 0;
}

body .splide__pagination__page.is-active {
	background: var(--e-global-color-primary);
}
 

/* MODAL PORTFOLIO */
#portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255 / 80%);
	opacity: 0;
	visibility: hidden;
	transition: all 1s ease;
    z-index: 999;
}

#portfolio-modal.is_open {
	opacity: 1;
	visibility: visible;
}

#portfolio-modal .close {
	position: absolute;
    top: 20px;
    right: 20px;
    background: var(--e-global-color-text);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
	font-size: 40px;
	color: #ffffff;
	cursor: pointer;
}

.modal-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
	padding: 10px;
    box-sizing: border-box;
    max-height: 1024px;
    width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #ffffff;
}

.modal-content .modal-image {
    width: 100%;
	max-height: 600px;
    height: 100%;
    object-fit: cover;
}

.modal-description {
    width: 100%;
    display: flex;
	align-items: flex-start;
    justify-content: space-between;
    gap: 1.25em;
}

.modal-description p {
	margin-bottom: 0;
	font: 400 1rem / 1.4 "Manrope", Sans-serif;
	color: var(--e-global-color-text);
	text-align: left;
}

.modal-description .kuik-button span {
	padding: 5px 10px;
}


/* CONTACT FORM */
.contact-form-group p {
    display: flex;
    align-items: center;
    gap: 1.25em;
}

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

.contact-form-group p .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-text {
    width: 100%;
    border: 0;
    border-radius: 0.625em;
    background: #E5E5E5;
}

.contact-form-group p .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-textarea {
	resize: vertical;
	min-height: 120px;
	height: 120px;
	width: 100%;
    border: 0;
    border-radius: 0.625em;
    background: #E5E5E5;
}

.contact-form-group p .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-text::placeholder,
.contact-form-group p .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-textarea::placeholder {
	opacity: 1;
}


/* RESPONSIVE */
@media (max-width: 1600px) {
	.modal-content {
		max-height: 600px;
		width: 800px;
	}
	
	.modal-content .modal-image {
		max-height: 400px;
	}
}

@media (max-width: 768px) {
	.modal-description {
		flex-direction: column;
	}
	
	.contact-form-group p {
		flex-direction: column;
		gap: 0.625em;
	}
}