/* 
Theme Name: MGN
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: mgn
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/** Misc. */
b, strong {
	font-weight: 600 !important
}

body .she-header-transparent-yes, body .elementor-editor-active .she-header-transparent-yes {
	background-color: #fff !important
}

/** Documentos */
.documentos-listado {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 60px
}
.documentos-categoria {
	padding: 0 0 30px 30px;
	border-left: 2px dotted var( --e-global-color-primary )
}
.documentos-categoria h3 {
	margin-block-end: 0;
  	margin-block-start: 0;
	margin-bottom: 15px;
	font-size: 22px !important;
	font-weight: 400;
	text-transform: uppercase;
	color: var( --e-global-color-secondary )
}
.documentos-items {
	display: flex;
	flex-direction: column;
	gap: 10px;
	list-style-type: none;
	margin: 0;
	padding: 0
}
.documento-item a {
	position: relative;
	padding-left: 16px;
	font-size: 15px;
	text-decoration: none;
	text-transform: uppercase;
	color: var( --e-global-color-text ) !important
}
.documento-item a::before {
	content: "\f0da";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%)
}
@media (max-width: 1024px) {
	.documentos-listado {
		grid-template-columns: repeat(2, 1fr)
	}
}
@media (max-width: 767px) {
	.documentos-listado {
		grid-template-columns: 1fr;
		gap: 20px
	}
	.documentos-categoria {
		padding-left: 20px
	}
}

/** ADDON: Container to */
.container-to-left {
	padding-right: calc(((100% - var( --container-max-width ) ) / 2) - 20px) !important
}
.container-to-right {
	padding-left: calc(((100% - var( --container-max-width ) ) / 2) - 20px) !important
}

.container-to-left-img > div:last-child {
	padding-right: calc((100% - var( --container-max-width ) ) / 2) !important
}
.container-to-right-img > div:first-child {
	padding-left: calc((100% - var( --container-max-width ) ) / 2) !important
}

@media (max-width: 1480px) {
	.container-to-left-img > div:last-child,
	.container-to-right-img > div:first-child {
		padding-left: 40px !important;
		padding-right: 40px !important
	}
}
@media (max-width: 1100px) {
	.container-to-left-img {
		padding-right: 0 !important
	}
	.container-to-right-img {
		padding-left: 0 !important
	}
}
@media (max-width: 1024px) {
	.container-to-left-img > div:last-child,
	.container-to-right-img > div:first-child {
		padding-left: 30px !important;
		padding-right: 30px !important
	}
}
@media (max-width: 767px) {
	.container-to-left-img > div:last-child,
	.container-to-right-img > div:first-child {
		padding-left: 20px !important;
		padding-right: 20px !important
	}
}

/** Royal addons: Menu */
.wpr-nav-menu .menu-item .wpr-sub-icon {
	display: none
}
.wpr-nav-menu .wpr-sub-menu .menu-item .wpr-sub-icon {
	display: block
}
.wpr-nav-menu .wpr-sub-menu {
	min-width: 240px
}

.wpr-pointer-underline .wpr-pointer-item::after {
	position: absolute;
	bottom: -3px;
	z-index: 1;
	width: 100%
}
.wpr-sub-menu .wpr-sub-menu-item {
	transition: all .2s ease-in-out
}

.underline-effect .menu-item a {
	position: relative
}
.underline-effect .menu-item a:after, .menu-item a.wpr-active-menu-item:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 1px;
	background-color: var( --e-global-color-accent );
	transform: scaleX(0) !important;
	transform-origin: bottom right;
	transition: transform .2s ease-in-out !important
}
.underline-effect .menu-item a:hover:after, .menu-item a.wpr-active-menu-item::after {
	transform: scaleX(1) !important;
	transform-origin: bottom left
}
.underline-effect .wpr-sub-menu a:after {
	display: none !important
}
.underline-effect .menu-item a.wpr-active-menu-item::after {
	background-color: var( --e-global-color-accent )
}

/*last item button*/
.wpr-nav-menu .menu-item:last-child a:after {
	display: none
}
.wpr-nav-menu .menu-item:last-child a {
	padding: 10px 18px !important;
	background-color: var( --e-global-color-accent );
	color: #fff !important;
	transition: opacity .2s ease-in-out
}
.wpr-nav-menu .menu-item:last-child a:hover {
	opacity: .9
}

/** Royal Addons: WP Forms */
div.wpforms-container-full:not(:empty) {
	margin: 0 !important
}
div.wpforms-container-full .wpforms-field.wpforms-field-checkbox ul li input + label, div.wpforms-container-full .wpforms-field.wpforms-field-radio ul li input + label, div.wpforms-container-full .wpforms-field.wpforms-field-payment-checkbox ul li input + label, div.wpforms-container-full .wpforms-field.wpforms-field-payment-multiple ul li input + label, div.wpforms-container-full .wpforms-field.wpforms-field-gdpr-checkbox ul li input + label {
	padding-inline-start: 0 !important
}
.wpforms-field-layout {
	margin-bottom: 0 !important
}
div.wpforms-container-full input[type="submit"], div.wpforms-container-full button[type="submit"], div.wpforms-container-full .wpforms-page-button, .wp-core-ui div.wpforms-container-full input[type="submit"], .wp-core-ui div.wpforms-container-full button[type="submit"], .wp-core-ui div.wpforms-container-full .wpforms-page-button {
	color: #FFF !important
}
.wpforms-form .wpforms-submit-container input[type=submit], .wpforms-form .wpforms-submit-container button[type=submit], .wpforms-form .wpforms-submit-container input[type=submit]:hover, .wpforms-form .wpforms-submit-container button[type=submit]:hover {
	background: var( --e-global-color-accent ) !important;
	background-color: var( --e-global-color-accent ) !important
}
.wpr-custom-chk-radio .wpcf7-checkbox .wpcf7-list-item-label::before, .wpr-custom-chk-radio .wpcf7-radio .wpcf7-list-item-label::before, .wpr-custom-chk-radio .wpcf7-acceptance .wpcf7-list-item-label::before, .wpr-custom-chk-radio .wpforms-field-checkbox input + label::before, .wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input + label::before, .wpr-custom-chk-radio .wpforms-field-radio input + label::before, .wpr-custom-chk-radio .wpforms-field-radio input:not(.wpforms-screen-reader-element) + span::before {
	margin-right: 8px !important
}
.wpforms-field-html {
	text-align: justify
}
.wpforms-submit {
	height: 60px !important
}
@media only screen and (max-width: 600px) {
	div.wpforms-container .wpforms-form .wpforms-field:not(.wpforms-field-phone):not(.wpforms-field-select-style-modern):not(.wpforms-field-radio):not(.wpforms-field-checkbox):not(.wpforms-field-layout):not(.wpforms-field-repeater) {
		overflow-y: hidden
	}
}

/** Royal addons: Button */
.elementor .elementor-widget-wpr-button .wpr-button-text {
	margin-bottom: 1px
}

/** Elementor ADDON: Effects */
:root {
  --fade-distance: 6%;
  --slide-distance: 100%;
}

/* Fade In */
@keyframes fadeInDown { from { opacity:0; transform:translate3d(0,calc(-1*var(--fade-distance)),0); } to { opacity:1; transform:none; } }
@keyframes fadeInUp   { from { opacity:0; transform:translate3d(0,var(--fade-distance),0); } to { opacity:1; transform:none; } }
@keyframes fadeInLeft { from { opacity:0; transform:translate3d(calc(-1*var(--fade-distance)),0,0); } to { opacity:1; transform:none; } }
@keyframes fadeInRight{ from { opacity:0; transform:translate3d(var(--fade-distance),0,0); } to { opacity:1; transform:none; } }
@keyframes fadeIn     { from { opacity:0; } to { opacity:1; } }

/* Slide In */
@keyframes slideInDown { from { transform:translate3d(0,calc(-1*var(--slide-distance)),0); } to { transform:none; } }
@keyframes slideInUp   { from { transform:translate3d(0,var(--slide-distance),0); } to { transform:none; } }
@keyframes slideInLeft { from { transform:translate3d(calc(-1*var(--slide-distance)),0,0); } to { transform:none; } }
@keyframes slideInRight{ from { transform:translate3d(var(--slide-distance),0,0); } to { transform:none; } }