/*
Theme Name: Demandrax
Theme URI: https://demandrax.com
Author: Cocoa Perú
Author URI: https://cocoa.pe/
Description: Plantilla desarrollada para uso de Demandrax
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root{
	--font-family: "Satoshi-Variable", sans-serif;
	--font-headlines: "Satoshi-Variable", sans-serif;
	--link: inherit;
	--morado: #5433C1;
	--lila: #6568FB;
	--indigo: #332CB4;
	--amarillo: #fdc425;
	--ambar: #c6a15b;
	--verde: #6568FB;
	--black: #0B0B0F;
	--gris: #969EAA;
	--light-lila: #f3f2fb;
	--light-amarillo: #FFF9E8;
	--light-verde: #F6FAEB;
	--white: #ffffff;
	--border: #B5B5B5;
);

	--header-height: 5rem;
	--col: 110px;
	--container: 1320px;
}
@media only screen and (max-width: 1399px){ :root{ --col: 95px; --container: 1140px; } }
@media only screen and (max-width: 1199px){ :root{ --col: 79.98px; --container: 960px; } }
@media only screen and (max-width: 991px){ :root{ --col: 60px; --container: 710px; } }
@media only screen and (max-width: 767px){ :root{ --col: 45px; --container: 540px; } }
@media only screen and (max-width: 575px){ :root{ --col: calc(100vw/12); --container: 100vw; } }

html{
	font-size: 18px;
}

body, table, td{
	font-family: var(--font-family);
	line-height: 1.4;
	color: var(--black);
	font-weight: 400;
	font-size: 1rem;
	font-style: normal;
}

h1, .h1{ font-size: 5rem; }
h2, .h2{ font-size: 3rem; }
h3, .h3{ font-size: 2.5rem; }
h4, .h4{ font-size: 2rem; }
h5, .h5{ font-size: 1.5rem; }
h6, .h6{ font-size: 1.2222rem; }
.p{ font-size: 1rem; }
.tiny{ font-size: 13px; }

a{
	color: var(--link);
	text-decoration: none;
}
a:hover{
	color: var(--link);
	text-decoration: underline;
}

small, .small{ font-size: 88.889%; }

.font-thin{ font-weight: 100;}
.font-extralight{ font-weight: 200;}
.font-light{ font-weight: 300;}
.font-medium{ font-weight: 500;}
.font-semibold{ font-weight: 600;}
.font-bold,b, strong{ font-weight: 700; }
.font-extrabold{ font-weight: 800;}
.font-black{ font-weight: 900;}

.has-medium-font-size{ font-size: 1.2222rem !important; }
.has-small-font-size{ font-size: 0.88889rem !important; }

h1,h2,h3,h4,h5,h6{ font-family: var(--font-headlines); font-weight: 400; margin-bottom: 1rem; line-height: 1.1;}

ul,ol{
	margin-bottom: 1.5rem;
}

ol:last-child,
ul:last-child,
p:last-child,
h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child{
	margin-bottom: 0 !important;
}

p:first-child,
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child{
	margin-top: 0 !important;
}

p{
	margin-bottom: 1rem;
}

ul, ol{
	padding-left: 1.5em;
}

.overflow-hidden{
	overflow: hidden;
}

.wp-block-separator,
hr{
	border: 0 solid;
	border-top-width: 1px;
	opacity: .42;
}

/*------------------------------ btn-trigger -------------------------*/

.btn-trigger{
	position: relative;
	display: block;
	min-width: 3rem;
	height: 3rem;
	border: 0 none;
	background-color: transparent;
	z-index: 100;
	border-radius: 0;
}

.btn-trigger span{
	display: block;
	position: absolute;
	width: 24px;
	height: 2px;
	background-color: var(--black);
	left: calc(50% - 12px);
	-webkit-transition: all 0.1s ease;
	-moz-transition: all 0.1s ease;
	-ms-transition: all 0.1s ease;
	-o-transition: all 0.1s ease;
	transition: all 0.1s ease;
	z-index: 9;
	border-radius: 0;
}
.btn-trigger span:nth-child(1){
	top: calc(50% - 8px);
}
.btn-trigger span:nth-child(2){
	bottom: calc(50% - 8px);
}

.btn-trigger span:nth-child(3){
	bottom: calc(50% - 1px);
}

.btn-trigger.show span:nth-child(1){
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	top: calc(50% - 1px);
}
.btn-trigger.show span:nth-child(2){
	-moz-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
	bottom: calc(50% - 1px);
}
.btn-trigger.show span:nth-child(3){
	width: 0;
	opacity: 0;
}

/*------------------------------ Forms -----------------------------*/

.label,
label{
	font-size: .88889rem;
	margin-bottom: .25rem;
	font-weight: 600;
}

.form-select,
.form-control{
	height: 3rem;
	display: block;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
	font-size: 1rem;
	color: var(--lila);
	border-radius: .25rem;
	border: 1px solid var(--ambar);
	padding: .25rem .75rem;
}

.form-select:hover,
.form-control:hover{
	border-color: var(--amarillo);
}

textarea.form-control{
	height: auto;
	padding-top: .75rem;
}

input::-webkit-input-placeholder{color: var(--gris);}
input::-moz-placeholder{color: var(--gris);}
input:-ms-input-placeholder{color: var(--gris);}
input::-ms-input-placeholder{color: var(--gris);}
input::placeholder{color: var(--gris);}

.form-select{
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23999999' viewBox='0 0 16 16'%3E%3Cpath d='M0,4.9l1.8-1.8,6.2,6.2,6.2-6.2,1.8,1.8-8,8L0,4.9Z'/%3E%3C/svg%3E");
	background-position: right 1rem center;
	background-repeat: no-repeat;
	background-size: .8889rem auto;
}

.form-select:focus,
.form-select:active{
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath d='M16,11.1l-1.8,1.8-6.2-6.2L1.8,12.9l-1.8-1.8L8,3.1l8,8Z'/%3E%3C/svg%3E");
}

.form-check{
	display: block;
    min-height: 1.5rem;
    padding-left: 1.5em;
}
.form-check-input{
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	margin-top: .175em;
	vertical-align: top;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: var(--white);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFF' viewBox='0 0 16 16'%3E%3Cpath d='M1,8.604l1.75-1.75,3.097,3.097,7.403-7.403,1.75,1.75L5.847,13.451,1,8.604Z'/%3E%3C/svg%3E"); 
	background-repeat: no-repeat;
	background-position: center;
	background-size: .88889rem;
	border: 1px solid var(--ambar);
	border-radius: 4px;
	-webkit-print-color-adjust: exact;
	color-adjust: exact;
	print-color-adjust: exact;
}
.form-check .form-check-input{
	float: left;
    margin-left: -1.5em;
}

.form-check-input:checked{
	background-color: var(--black);
	border-color: var(--ambar);
}
.form-check:hover .form-check-input{
	border-color: var(--black);
}

.form-check-input[type=radio]{
	border-radius: 50%;
	width: 1rem;
	height: 1rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFF' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8'/%3E%3C/svg%3E"); 
	background-size: 60% auto;
}
.form-check-input[type=radio]:checked{
	background-color: var(--white);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8'/%3E%3C/svg%3E"); 
	border-color: var(--black);
}

.img-fluid{
	max-width: 100%;
	height: auto;	
}

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

.rounded{ border-radius: .5rem; }

.rounded-circle{
	border-radius: 50%;
	overflow: hidden;
}
.pill{
	border-radius: 50em;
}

.text-uppercase{text-transform: uppercase !important;}
.text-underline{ text-decoration: underline !important; }
.w-100{width: 100%;}
.h-100{height: 100%;}
.position-relative{	position: relative;}
.position-static{	position: static;}

.text-start {text-align: left !important;}
.text-end {text-align: right !important;}
.text-center { text-align: center !important;}

@media (min-width: 576px) {
	.text-sm-start {text-align: left !important;}
	.text-sm-end {text-align: right !important; }
	.text-sm-center {text-align: center !important;}
}
@media (min-width: 768px) {
	.text-md-start {text-align: left !important;}
	.text-md-end {text-align: right !important;}
	.text-md-center {text-align: center !important;}
}
@media (min-width: 992px) {
	.text-lg-start {text-align: left !important;}
	.text-lg-end {text-align: right !important;}
	.text-lg-center {text-align: center !important;}
}
@media (min-width: 1200px) {
	.text-xl-start {text-align: left !important;}
	.text-xl-end {text-align: right !important;}
	.text-xl-center {text-align: center !important;}
}
@media (min-width: 1400px) {
	.text-xxl-start {text-align: left !important;}
	.text-xxl-end {text-align: right !important;}
	.text-xxl-center {text-align: center !important;}
}

.py,.pt{ padding-top: 5rem; }
.py,.pb{ padding-bottom: 5rem; }
.my,.mt{ margin-top: 5rem; }
.my,.mb{ margin-bottom: 5rem; }

.text-morado{color: var(--morado) !important;}
.text-indigo{color: var(--indigo) !important;}
.text-amarillo{color: var(--amarillo) !important;}
.text-ambar{color: var(--ambar) !important;}
.text-verde{color: var(--verde) !important;}
.text-black{color: var(--black) !important;}
.text-gris{color: var(--gris) !important;}
.text-light-lila{color: var(--light-lila) !important;}
.text-light-amarillo{color: var(--light-amarillo) !important;}
.text-light-verde{color: var(--light-verde) !important;}
.text-white{color: var(--white) !important;}
.text-border{color: var(--border) !important;}

.bg-morado{background-color: var(--morado) !important;}
.bg-lila{background-color: var(--lila) !important;}
.bg-indigo{background-color: var(--indigo) !important;}
.bg-amarillo{background-color: var(--amarillo) !important;}
.bg-ambar{background-color: var(--ambar) !important;}
.bg-verde{background-color: var(--verde) !important;}
.bg-black{background-color: var(--black) !important;}
.bg-gris{background-color: var(--gris) !important;}
.bg-light-lila{background-color: var(--light-lila) !important;}
.bg-light-amarillo{background-color: var(--light-amarillo) !important;}
.bg-light-verde{background-color: var(--light-verde) !important;}
.bg-white{background-color: var(--white) !important;}
.bg-border{background-color: var(--border) !important;}

.opacity-50{ opacity: .5;}

.text-truncate{overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.stretched-link::after{ position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: 1;content: "";}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{
	padding-right: 15px;
    padding-left: 15px;
}
.row:not([class*=gx]){
	--bs-gutter-x: 30px;
}

.cta a,
.wp-block-button__link,
.btn{
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	justify-content: center;
	text-align: center;
	line-height: 1;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	border: 1px solid transparent;
	background-color: transparent;
	padding: 0.35rem 2rem;
	font-size: 1rem;
	min-height: 3rem;
	font-weight: normal;
	z-index: 1;
	gap: 0 0.35em;
	border-radius: 50em;
	color: inherit;
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	-ms-transition: all 0.25s ease;
	-o-transition: all 0.25s ease;
	transition: all 0.25s ease;
	white-space: nowrap;
}

.wp-block-button__link:hover,
.btn:hover{
	text-decoration: none;
	color: inherit;
}

@media (prefers-reduced-motion: reduce) {
	.btn {
		transition: none;
	}
}

.cta a,
.btn,
.wp-block-button__link{
	border-color: var(--indigo);
	background: linear-gradient(135deg, var(--morado) 0%,var(--black) 100%);
	color: var(--white);
}

.cta a:hover,
.btn:hover,
.wp-block-button__link:hover{
	border-color: var(--indigo);
	background: linear-gradient(135deg, var(--morado) 0%,var(--black) 100%);
	color: var(--white);
	filter: saturate(2);
}

.btn-link{
	padding: 0;
	min-height: 0;
	border-radius: 0;
	border: 0 none;
	background: none;
	background-color: transparent !important;
	text-underline-offset: 0.15em;
	color: var(--ambar);
}
.btn-link:hover{
	text-decoration: underline;
	gap: 0 .5em;
	background: none;
	color: var(--ambar);
	filter: none;
}

.btn-link svg{
	width: .88889rem;
	height: auto;
}

/*------------------------------ Responsive -----------------------------*/

@media only screen and (max-width: 1399px){
	html{
		font-size: 16px;
	}
}
@media only screen and (max-width: 1199px){
	html{
		font-size: 18px;
	}
}
@media only screen and (max-width: 991px){
	html{
		font-size: 16px;
	}
	
	h1, .h1{ font-size: 4rem; }

}
@media only screen and (max-width: 767px){
	
	h1, .h1{ font-size: 3.5rem; }
	h2, .h2{ font-size: 2.5rem; }
	h3, .h3{ font-size: 2.25rem; }
	
	.py,.pt{ padding-top: 4rem; }
	.py,.pb{ padding-bottom: 4rem; }
	.my,.mt{ margin-top: 4rem; }
	.my,.mb{ margin-bottom: 4rem; }
	
}
@media only screen and (max-width: 575px){
	
	h1, .h1{ font-size: 2.5rem; }
	h2, .h2{ font-size: 2.25rem; }
	h3, .h3{ font-size: 2rem; }
	h4, .h4{ font-size: 1.75rem; }
	h5, .h5{ font-size: 1.25rem; }
	h6, .h6{ font-size: 1.1111rem; }
	
	.py,.pt{ padding-top: 3.42rem; }
	.py,.pb{ padding-bottom: 3.42rem; }
	.my,.mt{ margin-top: 3.42rem; }
	.my,.mb{ margin-bottom: 3.42rem; }
	
}