/*
Theme Name: REDUCA
Theme URI: https://reduca-al.org/
Author: Cocoa Perú
Author URI: https://cocoa.pe/
Description: Plantilla desarrollada para uso de REDUCA
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: "Manrope", sans-serif;
	--font-montserrat: "Montserrat", sans-serif;
	--font-headlines: "Manrope", sans-serif;
	--link: #165a7c;
	--azul01: #2f809c;
	--azul02: #165a7c;
	--verde: #97be2d;
	--naranja: #ff6d20;
	--black: #191d21;
	--gris: #323a41;
	--light: #f4f4f4;
	--white: #ffffff;
	--border: #d2dbe2;
	
	--header-height: 100px;
	--col: 110px;
	--container: 1320px;
}
@media only screen and (max-width: 1399px){ :root{ --col: 95px; --container: 1140px; --header-height: 90px; } }
@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: 16px;
}

body, table, td{
	font-family: var(--font-family);
	font-optical-sizing: auto;
	line-height: 1.5;
	color: var(--black);
	font-weight: normal;
	font-size: 1rem;
	font-style: normal;
}
a{
	color: var(--link);
	text-decoration: none;
	text-underline-offset: 2px;
}
a:hover{
	color: var(--link);
	text-decoration: underline;
}

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

b, strong{ font-weight: 800; }

h1, .h1{ font-size: 3rem; }
h2, .h2{ font-size: 2.25rem; }
h3, .h3{ font-size: 1.75rem; }
h4, .h4{ font-size: 1.375rem; }
h5, .h5{ font-size: 1.1111rem; }
h6, .h6{ font-size: .875rem; }

.has-medium-font-size{ font-size: 1.1111rem !important; }
.has-small-font-size{ font-size: 0.875rem !important; }

.font-montserrat{ font-family: var(--font-montserrat); }

.font-light{ font-weight: 300 !important; }
.font-regular{ font-weight: 400 !important; }
.font-medium{ font-weight: 500 !important; }
.font-semibold{ font-weight: 600 !important; }
.font-bold{ font-weight: 700 !important; }
.font-extrabold{ font-weight: 800 !important; }

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

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;
}

.border-bottom{
	border-bottom: 1px solid var(--border);
}

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

.btn-trigger{
	position: relative;
	display: block;
	min-width: 2.6667rem;
	height: 2.6667rem;
	border: 0 none;
	background-color: var(--white);
	z-index: 100;
	border-radius: .25rem;
}

.btn-trigger span{
	display: block;
	position: absolute;
	width: 28px;
	height: 3px;
	background-color: var(--azul02);
	left: calc(50% - 14px);
	-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% - 9px);
}
.btn-trigger span:nth-child(2){
	bottom: calc(50% - 9px);
}

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

.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% - 1.5px);
}
.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% - 1.5px);
}
.btn-trigger.show span:nth-child(3){
	width: 0;
	opacity: 0;
}
/*------------------------------ FORM -------------------------*/

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

.form-select,
.form-control{
	height: 3.75rem;
	display: block;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
	font-size: 1rem;
	padding: .35rem 1rem;
	color: var(--black);
	border-radius: 0;
	border: 1px solid var(--border);
}

.form-select:focus,
.form-control:focus{
	border-color: var(--gris);
	outline: none;
}

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

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);}

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

.form-select{
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%233c3c3b' width='16.1' height='10.2' viewBox='0 0 16.1 10.2'%3E%3Cpath d='M8.1,10.2L0,2.1L2.1,0l5.9,5.9L14,0l2.1,2.1L8.1,10.2z'/%3E%3C/svg%3E");
	background-position: right 1rem center;
	background-repeat: no-repeat;
	background-size: .8889rem auto;
	padding-right: 2.5rem;
}

.form-select:focus{
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%233c3c3b' width='16.1' height='10.2' viewBox='0 0 16.1 10.2'%3E%3Cpath d='M8,0l8.1,8.1L14,10.2L8.1,4.3l-6,5.9L0,8.1L8,0z'/%3E%3C/svg%3E");
}

/*------------------------------ BOOTSTRAP -----------------------------*/

.ratio {
	position: relative;
	width: 100%;
}
.ratio::before {
	display: block;
	padding-top: var(--bs-aspect-ratio);
	content: "";
}
.ratio > * {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.ratio-1x1 {
	--bs-aspect-ratio: 100%;
}

.ratio-4x3 {
	--bs-aspect-ratio: 75%;
}

.ratio-16x9 {
	--bs-aspect-ratio: 56.25%;
}

.ratio-21x9 {
	--bs-aspect-ratio: 42.8571428571%;
}

.modal {
	--bs-modal-zindex: 1055;
	--bs-modal-width: 500px;
	--bs-modal-padding: 1rem;
	--bs-modal-margin: 0.5rem;
	--bs-modal-color: ;
	--bs-modal-bg: var(--bs-body-bg);
	--bs-modal-border-color: var(--bs-border-color-translucent);
	--bs-modal-border-width: var(--bs-border-width);
	--bs-modal-border-radius: var(--bs-border-radius-lg);
	--bs-modal-box-shadow: var(--bs-box-shadow-sm);
	--bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));
	--bs-modal-header-padding-x: 1rem;
	--bs-modal-header-padding-y: 1rem;
	--bs-modal-header-padding: 1rem 1rem;
	--bs-modal-header-border-color: var(--bs-border-color);
	--bs-modal-header-border-width: var(--bs-border-width);
	--bs-modal-title-line-height: 1.5;
	--bs-modal-footer-gap: 0.5rem;
	--bs-modal-footer-bg: ;
	--bs-modal-footer-border-color: var(--bs-border-color);
	--bs-modal-footer-border-width: var(--bs-border-width);
	position: fixed;
	top: 0;
	left: 0;
	z-index: var(--bs-modal-zindex);
	display: none;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	outline: 0;
}

.modal-dialog {
	position: relative;
	width: auto;
	margin: var(--bs-modal-margin);
	pointer-events: none;
}
.modal.fade .modal-dialog {
	transition: transform 0.3s ease-out;
	transform: translate(0, -50px);
}
@media (prefers-reduced-motion: reduce) {
	.modal.fade .modal-dialog {
		transition: none;
	}
}
.modal.show .modal-dialog {
	transform: none;
}
.modal.modal-static .modal-dialog {
	transform: scale(1.02);
}

.modal-dialog-scrollable {
	height: calc(100% - var(--bs-modal-margin) * 2);
}
.modal-dialog-scrollable .modal-content {
	max-height: 100%;
	overflow: hidden;
}
.modal-dialog-scrollable .modal-body {
overflow-y: auto;
}

.modal-dialog-centered {
	display: flex;
	align-items: center;
	min-height: calc(100% - var(--bs-modal-margin) * 2);
}

.modal-content {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	pointer-events: auto;
	background-color: var(--bs-modal-bg);
	background-clip: padding-box;
	outline: 0;
}

.modal-backdrop {
	--bs-backdrop-zindex: 1050;
	--bs-backdrop-bg: #000;
	--bs-backdrop-opacity: 0.8;
	position: fixed;
	top: 0;
	left: 0;
	z-index: var(--bs-backdrop-zindex);
	width: 100vw;
	height: 100vh;
	background-color: var(--bs-backdrop-bg);
}
.modal-backdrop.fade {
	opacity: 0;
}
.modal-backdrop.show {
	opacity: var(--bs-backdrop-opacity);
}

.modal-body {
	position: relative;
	flex: 1 1 auto;
}

@media (min-width: 576px) {
	.modal {
		--bs-modal-margin: 1.75rem;
		--bs-modal-box-shadow: var(--bs-box-shadow);
	}
	.modal-dialog {
		max-width: var(--bs-modal-width);
		margin-right: auto;
		margin-left: auto;
	}
	.modal-sm {
		--bs-modal-width: 300px;
	}
}
@media (min-width: 992px) {
	.modal-lg,
	.modal-xl {
		--bs-modal-width: 800px;
	}
}
@media (min-width: 1200px) {
	.modal-xl {
		--bs-modal-width: 1140px;
	}
}

.fade {
	transition: opacity 0.15s linear;
}
@media (prefers-reduced-motion: reduce) {
	.fade {
		transition: none;
	}
}
.fade:not(.show) {
	opacity: 0;
}

.close{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.625rem;
	height: 2.625rem;
	border-radius: 50%;
	border: 0 none;
	background-color: var(--black);
	color: var(--light);
	transition: all .3s ease;
}
.close svg{
	width: 1.25rem;
	height: 1.25rem;
}
.close:hover{
	color: var(--white);
	background-color: var(--verde);
}
.modal .close{
	position: fixed;
	top: 1rem;
	right: 1rem;
}

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

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

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

.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-link{color: var(--link) !important;}
.text-azul01{color: var(--azul01) !important;}
.text-azul02{color: var(--azul02) !important;}
.text-verde{color: var(--verde) !important;}
.text-naranja{color: var(--naranja) !important;}
.text-black{color: var(--black) !important;}
.text-gris{color: var(--gris) !important;}
.text-light{color: var(--light) !important;}
.text-white{color: var(--white) !important;}
.text-border{color: var(--border) !important;}

.bg-link{background-color: var(--link) !important;}
.bg-azul01{background-color: var(--azul01) !important;}
.bg-azul02{background-color: var(--azul02) !important;}
.bg-verde{background-color: var(--verde) !important;}
.bg-naranja{background-color: var(--naranja) !important;}
.bg-black{background-color: var(--black) !important;}
.bg-gris{background-color: var(--gris) !important;}
.bg-light{background-color: var(--light) !important;}
.bg-white{background-color: var(--white) !important;}
.bg-border{background-color: var(--border) !important;}
.bg-transparent{background-color: transparent !important;}

.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;
}

.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: 2.625rem;
	font-weight: 500;
	z-index: 1;
	gap: 0 0.5em;
	border-radius: 0;
	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;
}

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

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

.btn svg{
	width: 1rem;
	height: 1rem;
}

.btn-lg{
	min-height: 3.75rem;
}

.btn-circle{
	padding: 0;
	width: 2.625rem;
	border-radius: 50%;
}

.btn-verde{
	border-color: var(--verde);
	background-color: var(--verde);
	color: var(--white);
}
.btn-azul01:hover,
.btn-verde:hover{
	border-color: var(--gris);
	background-color: var(--gris);
	color: var(--white);
}

.btn-azul01{
	border-color: var(--azul01);
	background-color: var(--azul01);
	color: var(--white);
}

.btn-light{
	border-color: var(--light);
	background-color: var(--light);
	color: var(--azul01);
}
.btn-light:hover{
	border-color: var(--light);
	background-color: var(--light);
	color: var(--azul02);
}

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

@media only screen and (max-width: 1539px){
	
}
@media only screen and (max-width: 1399px){
	html{
		font-size: 14px;
	}	
}
@media only screen and (max-width: 1199px){
	html{
		font-size: 16px;
	}
}
@media only screen and (max-width: 991px){
	html{
		font-size: 14px;
	}
}
@media only screen and (max-width: 767px){
	
	h1, .h1{ font-size: 2.5rem; }
	h2, .h2{ font-size: 1.75rem; }
	h3, .h3{ font-size: 1.5rem; }
	h4, .h4{ font-size: 1.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){
	
	.py,.pt{ padding-top: 3.42rem; }
	.py,.pb{ padding-bottom: 3.42rem; }
	.my,.mt{ margin-top: 3.42rem; }
	.my,.mb{ margin-bottom: 3.42rem; }

}