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

.font-hidophin {
	font-family: "Hidophin", sans-serif !important;
}

.dental-boton {
	--height: 56px;
	--padding-inline: 20px;
	width: 100%;
	height: var(--height);
	display: flex;
	flex-direction: column;
	border: 0;
	border-radius: 16px;	
	outline: 0;
	text-align: center;
	text-decoration: none;
	overflow: hidden;
}

.dental-boton.chico {
	--height: 48px;
	--padding-inline: 20px;
}

@media (max-width: 600px) {
	.dental-boton.chico {
		--padding-inline: 10px;
	}

	.dental-boton.chico p {
		font-size: 12px;
	}
}

.boton-capa {
	width: 100%;
	transform: translateY(0px);
}

.dental-boton,
.boton-capa {
	transition: 0.6s cubic-bezier(.16,1,.3,1);
}

.boton-contenido {
	display: flex;
	align-items: center;
	justify-content: center;
	height: var(--height);
	padding-inline: var(--padding-inline);
}

.boton-capa:nth-child(1) {
	background-color: #FF9E0F;
}

.boton-capa:nth-child(2) {
	background-color: #0F8287;
}

.dental-boton:hover .boton-capa {
	transform: translateY(calc(var(--height) * -1));
}

.dental-boton p {
	margin-bottom: 0;
	font-family: "Manrope", sans-serif;
	font-size: 18px;
	font-weight: 400;
	color: #ffffff;
}

.dental-boton:active {
	transform: scale(0.95);
}


.titulo-animado {
	overflow: hidden;
    -webkit-transform: translateY(90%);
    transform: translateY(90%);
    -webkit-transition: 1.5s -webkit-transform;
    transition: 1.5s -webkit-transform;
    transition: 1.5s transform;
    transition: 1.5s transform, 1.5s -webkit-transform;
    -webkit-overflow-scrolling: touch;
}

.animado.titulo-animado {
	-webkit-transform: translateY(0);
    transform: translateY(0);
}

.titulo-animado > .e-heading-base {
    -webkit-transform: translateY(-90%);
    transform: translateY(-90%);
    -webkit-transition: 1.5s -webkit-transform;
    transition: 1.5s -webkit-transform;
    transition: 1.5s transform;
    transition: 1.5s transform, 1.5s -webkit-transform;
}

.animado.titulo-animado > .e-heading-base {
	-webkit-transform: translateY(0);
    transform: translateY(0);
}


.card {
	position: relative;
	overflow: hidden;
}

.card__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.card__overlay {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.0);
	transition: background 0.4s ease;
	z-index: 1;
}

.card__content {
	position: absolute;
	inset: 0;
	transition: all 0.4s ease;
	z-index: 2;
}

.card__content--hover {
	opacity: 0;
	transform: translateY(20px);
}

.card__content--default {
	opacity: 1;
}

.card:hover .card__overlay {
	background: rgba(255, 255, 255, 0.75);
}

.card:hover .card__content--default {
	opacity: 0;
}

.card:hover .card__content--hover {
	opacity: 1;
	transform: translateY(0);
}


textarea.wpcf7-form-control.wpcf7-textarea {
	resize: vertical;
	min-height: 200px;
	max-height: 200px;
}

.wpcf7-submit.dental-boton {
    float: right;
    display: inline-flex;
    width: auto;
    padding: 0;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 400;
}

@media (max-width: 768px) {
  .card__overlay {
    background: rgba(255, 255, 255, 0.75);
  }

  .card__content--default {
    opacity: 0;
  }

  .card__content--hover {
    opacity: 1;
    transform: translateY(0);
  }
}