/*
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
*/
html {
  scroll-behavior: smooth;
}

.font-hanson {
	font-family: "Hanson", Sans-serif !important;
}

.blacktrc-button,
#page .wpcf7-submit {
	position: relative;
	display: flex;
	border: 1px solid #dda558;
	border-radius: 10px;
	padding: 8px 16px;
	background: #dda558;
	font: 800 1rem / 1 "Mulish", Sans-serif;
	color: #ffffff;
	overflow: hidden;
	z-index: 1;
	cursor: pointer;
	transition: all 0.2s ease-in;
}

.blacktrc-button:hover,
#page .wpcf7-submit:hover {
	background: #dda558;
	color: #000000;
}

.blacktrc-button:before {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%) scaleY(1) scaleX(1.25);
	top: 100%;
	width: 140%;
	height: 180%;
	background-color: #ffffff;
	border-radius: 50%;
	display: block;
	transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
	z-index: -1;
}

.blacktrc-button:after {
	content: "";
	position: absolute;
	left: 55%;
	transform: translateX(-50%) scaleY(1) scaleX(1.45);
	top: 180%;
	width: 160%;
	height: 190%;
	background-color: #ffffff;
	border-radius: 50%;
	display: block;
	transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
	z-index: -1;
}

.blacktrc-button:hover:before {
	top: -35%;
	background-color: #ffffff;
	transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.blacktrc-button:hover:after {
	top: -45%;
	background-color: #ffffff;
	transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}


/* FORMULARIO */
.form-container {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 80px;
}

.form-container br {
	display: none;
}

.form-container h3, .form-container p {
	margin-bottom: 5px;
	line-height: 1 !important;
}

.form-group.bg-white {
	border-radius: 30px;
	padding: 20px;
	background-color: #ffffff;
}

.form-group-item {
	margin-bottom: 40px;
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 20px;
}

.form-title {
	font: 500 2rem / 1 "Mulish", Sans-serif;
	color: #ffffff;
}

.form-title-bold {
	font: 700 1.25rem / 1 "Mulish", Sans-serif;
	text-align: center;
}

.form-title span {
	font-weight: 300;
	font-size: 1.5rem;
}

.form-number {
    display: flex;
	align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #dda659;
    border-radius: 50%;
    background-color: transparent;
	font: 1.25rem / 1 "Mulish", Sans-serif;
    color: #ffffff;
}

.form-group-radio:not(:last-child) {
    margin-bottom: 20px;
}

.form-group-inputs h3 {
    margin-bottom: 10px;
    font: 1.5rem / 1 "Hanson", Sans-serif;
    color: #ffffff;
}

.form-group-inputs .wpcf7-form-control:not(.wpcf7-submit) {
    border: 1px solid #ffffff;
    background-color: transparent;
	font: 1.25rem / 1 "Mulish", Sans-serif;
    color: #ffffff;
}

.form-group-inputs .wpcf7-form-control::placeholder {
	font: 1.25rem / 1 "Mulish", Sans-serif;
	color: #ffffff;
	opacity: 1;
}

.form-group-inputs h3 {
	text-align: left;
}

.form-group-inputs p .blacktrc-button {
    text-align: right;
    justify-self: flex-end;
}

.wpcf7-form-control-wrap[data-name="plazos"] {
	display: flex;
	justify-content: center;
}

.wpcf7-list-item {
    margin: 0 0 5px;
}

select.wpcf7-form-control.wpcf7-select {
    margin-top: 10px;
    margin-bottom: 0;
    max-width: 100px;
    border: 1px solid #000000;
	border-radius: 10px;
    color: #000000;
    font: 400 1.25rem / 1 "Mulish", Sans-serif;
    text-align: center;
}

.form-bottom {
	margin-top: 20px;
	display: flex;
	gap: 20px;
}

.form-bottom p {
    font: 500 1rem / 1 "Mulish", Sans-serif;
    text-align: center;
    color: #ffffff;
}

.custom-upload {
    display: inline-block;
    position: relative;
}

.custom-upload-button {
    display: flex;
	border-radius: 5px;
    padding: 5px;
    background-color: #dda558;
	font: 800 0.875rem / 1 "Mulish", Sans-serif;
    color: #ffffff;
    cursor: pointer;
}

.custom-upload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
	opacity: 0;
    cursor: pointer;
}

.wpcf7-form-control.wpcf7-radio {
    display: flex;
    flex-direction: column;
}

.wpcf7-form-control.wpcf7-radio .wpcf7-list-item-label {
	font: 600 1rem / 1 "Mulish", Sans-serif;
	color: #000000;
}

.slider-wrapper p {
	display: flex;
	align-items: center;
	gap: 10px;
}

.slider-btn {
	background-color: #d99c4a;
	color: #ffffff;
	border: none;
	border-radius: 50%;
	min-width: 32px;
	width: 32px;
	height: 32px;
	font-size: 18px;
	cursor: pointer;
}

input[type="range"] {
	-webkit-appearance: none;
    appearance: none;
    margin-bottom: 0 !important;
    border: 0;
    background: transparent;
    cursor: pointer;
    width: 100%;
}

/* Removes default focus */
input[type="range"]:focus {
	outline: none;
}

/* slider track */
input[type="range"]::-webkit-slider-runnable-track {
	background-color: #d99c4a;
	border-radius: 0.5rem;
	height: 4px;
}

/* slider thumb */
input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	margin-top: -3px;
	background-color: #d99c4a;
	border-radius: 0.5rem;
	height: 10px;
	width: 10px;
}

input[type="range"]:focus::-webkit-slider-thumb {
	outline: 1px solid #d99c4a;
	outline-offset: 0.125rem;
}

/* slider track */
input[type="range"]::-moz-range-track {
	background-color: #d99c4a;
	border-radius: 0.5rem;
	height: 5px;
}

/* slider thumb */
input[type="range"]::-moz-range-thumb {
	background-color: #d99c4a;
	border: none;
	border-radius: 0.5rem;
	height: 1rem;
	width: 1rem;
}

input[type="range"]:focus::-moz-range-thumb {
	outline: 3px solid #d99c4a;
	outline-offset: 0.125rem;
}

#amount-display {
	font: 700 2rem / 1 "Mulish", Sans-serif;
	text-align: center;
	color: #000000;
}

#amount-display span {
    display: inline-flex;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
}

.popup-message-style #page .wpcf7-response-output.run-animation {
	background-color: #000000 !important;
}

.popup-message-style #page .wpcf7-response-output.run-animation.wpcf7-mail-sent-ok {
	background-color: #dda558 !important;
}

.popup-message-style #page .wpcf7-response-output.run-animation:before {
	display: none;
}

@media (max-width: 768px) {
	.line-break br {
		display: none;
	}

	.form-container {
		grid-template-columns: 1fr;
		gap: 20px
	}
	
	.form-container .form-title {
		text-align: left;
	}
	
	.form-container > .form-group:first-child {
		order: 2
	}
	
	.form-container > .form-group:last-child {
		order: 1
	}
	
	.form-group-item{
		gap: 10px 20px;
	}
	
	.form-group-item p:last-child {
		grid-column: 1 / 3;
	}
	
	.form-bottom {
		flex-direction: column;
	}
}