/*
 * Theme Name:  Maag Child
 * Theme URI:   https://maag.codesupply.co/
 * Description: Maag Child Theme
 * Author:      Code Supply Co.
 * Author URI:  https://codesupply.co/
 * Template:    maag
 * Version:     1.0.0
 */

/* Copy any classes from parent theme here. They will override the parent's version. */

:root {
	/* COLOURS */
	--white: #fff;
	--green-ok: #a3cb38;
	--red-ok: #e74c3c;
	--yellow-ok: #f39c12;

	--red: #e30613;
	--red-dark: #a1020c;
	--black: #181818;
	--grey-600: #7b7d7b;
	--grey-300: #bfbfbf;

	/* project */
	--c-blue: #08a4bd;
	--c-primary: #eae7dd;
	--c-brown: #4c4b42;
	--c-brown-100: #d0cdc3;
}

@media screen and (max-width: 767px) {
}

/* ---------------------------------------- GENERAL */
/* --------------- CAPTCHA */
.grecaptcha-badge {
	display: none !important;
}

/* ---------------------------------------- MENU */
/* --------------- BIBLIOTECA */
li.special-item {
	border-left: 1px solid #ffffff1f;
	margin-left: 10px;
	padding-left: 10px;
}
@media screen and (max-width: 1199px) {
	li.special-item {
		border-left: none;
		border-top: 1px solid var(--cs-color-border);
		margin-left: 0;
		margin-top: 10px;
		padding-left: 0;
		padding-top: 10px;
	}
}
/* --------------- MENU COMPLETO */
@media (min-width: 1199px) {
	.cs-site-inner
		.cs-header
		.cs-header__outer
		.cs-container
		.cs-header__inner-mobile,
	.cs-header__inner.cs-header__inner-mobile {
		display: none !important;
	}
}
@media (min-width: 1199px) {
	.cs-site-inner
		.cs-header
		.cs-header__outer
		.cs-container
		.cs-header__inner-desktop,
	.cs-header__inner.cs-header__inner-desktop {
		display: flex !important;
	}
}
@media (min-width: 992px) and (max-width: 1199.98px) {
	.cs-header-three .cs-header__nav {
		display: flex;
	}
}
/* ---- LI / CONTACTO --- */
li.header-contacto {
	display: none;
	margin-top: 20px;
}
li.header-contacto a {
	background-color: var(--cs-color-button);
	color: var(--cs-color-button-contrast);
	position: relative;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	border: none;
	transition: 0.25s;
	box-shadow: none;
	overflow: hidden;
	cursor: pointer;
	font-family: var(--cs-font-menu-family), sans-serif !important;
	font-weight: var(--cs-font-primary-weight) !important;
	padding: 0.5625rem 1.125rem 0.5625rem 1.125rem;
	border-radius: var(--cs-button-border-radius);
	width: 100%;
	text-align: center;
}
li.header-contacto a:hover {
	background-color: var(--cs-color-primary);
	color: var(--cs-light-button-color) !important;
}
@media screen and (max-width: 991px) {
	li.header-contacto {
		display: flex;
	}
}

/* ---------------------------------------- PROGRESS BAR */
.cs-floating-header__progress {
	height: 4px;
}
.cs-floating-header__progress-bar {
	height: 4px;
	background: var(--c-blue) !important;
}

/* ---------------------------------------- FOOTER */
/* --------------- LISTAS */
.cs-footer-columns__nav > li > ul > li + li {
	margin-top: 0 !important;
}
/* --------------- NEWSLETTER */
/* BOTON */
.cs-footer .cs-subscribe button {
	background-color: var(--c-primary);
}

/* ---------------------------------------- CATEGORIA */
/* TITULO */
.category .cs-entry__inner .cs-entry__info {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* ---------------------------------------- ABOUT US */
.page-id-3785 #page {
	margin-bottom: 0;
}
.page-id-3785 #page .cs-site-content {
	margin-bottom: 0;
}
/* TITULO */
.page-id-3785
	.cs-sidebar-disabled
	.cs-entry__header-featured
	.cs-entry__header-content {
	margin-left: 0;
}

/* ---------------------------------------- POST */
/* --------------- SHARE */
.cs-share__link .cs-icon-linkedin {
	fill: var(--c-brown);
	transition: fill 0.3s ease;
}
.cs-share__link:hover .cs-icon-linkedin {
	fill: var(--c-primary);
}
/* --------------- COMENTARIOS */
.comment-form-comment textarea,
.comment-form-author input:not([type='submit']):not([type='checkbox']),
.comment-form-email input:not([type='submit']):not([type='checkbox']) {
	/*background: var(--cs-color-input, var(--cs-site-background));*/
	color: var(--c-brown);
	padding-top: 10px;
}
.cs-subscribe-entry .cs-subscribe input {
	color: var(--c-brown);
}
.comment-author .fn:before {
	content: 'por';
}
/* --------------- FOOTER */
.cs-entry__footer .cs-share {
	gap: 5px;
}
.cs-entry__footer .cs-share .cs-share__link {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	text-decoration: none;
	color: var(--cs-color-primary);
	transition: 0.25s;
	background-color: var(--c-brown-100);
	border-radius: 100%;
}
.cs-entry__footer .cs-share .cs-share__link:hover {
	color: var(--c-brown-100);
	background-color: var(--cs-color-primary);
}

/* ---------------------------------------- LEGALES */
/* --------------- TITLE */
.page-id-3 h1.cs-entry__title,
.page-id-3829 h1.cs-entry__title,
.page-id-3835 h1.cs-entry__title {
	display: flex;
	justify-content: center;
}

/* --------------- CONTENT */
.entry-content {
	font-size: 1.2em;
}
@media (max-width: 767.98px) {
	.entry-content {
		font-size: 0.9rem;
	}
}

/* ---------------------------------------- CONTACTO */
/* --------------- TITLE */
.page-id-3853 h1.cs-entry__title {
	display: flex;
	justify-content: center;
}
/* --------------- FORM */
.page-id-3853 #form_contacto input#form-field-texto_acepto {
	display: none;
}

/* MENSAJES */
.elementor-3853
	.elementor-element.elementor-element-ded4ff9
	.elementor-message.elementor-message-success {
	background-color: var(--green-ok);
	color: var(--white);
	padding: 20px;
	font-size: 14px;
}

.elementor-3853
	.elementor-element.elementor-element-ded4ff9
	.elementor-message.elementor-message-danger {
	background-color: var(--red-dark);
	color: var(--white);
	padding: 20px;
	font-size: 14px;
}

/* ---------------------------------------- CONTACTO-CF 7 */
/* --------------- TITLE */
.page-id-4900 h1.cs-entry__title {
	display: flex;
	justify-content: center;
}
/* --------------- FORM */
.contact-form-cf7 {
	display: flex;
	flex-direction: column;
}
.contact-form-cf7 .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
@media screen and (max-width: 767px) {
	.contact-form-cf7 .form-row {
		grid-template-columns: 1fr;
		gap: 10px;
	}
}
.contact-form-cf7 .form-col {
	flex: 1;
}
.contact-form-cf7 .input-field {
	width: 100%;
	padding: 15px;
	border: 1px solid var(--white);
	background-color: var(--white);
	color: var(--c-brown);
	border-radius: 4px;
	font-family: inherit;
	transition: all 0.25s;
}
.contact-form-cf7 .input-field:focus,
.contact-form-cf7 .input-field:hover {
	border: 1px solid var(--c-brown);
}
.contact-form-cf7 textarea.input-field {
	min-height: 100px;
}
.contact-form-cf7 .btn-send {
	background-color: var(--c-blue);
	color: var(--white);
	border: none;
	padding: 12px 30px;
	font-size: 16px;
	cursor: pointer;
	border-radius: 5px;
	width: 100%;
	transition: all 0.25s;
}
.contact-form-cf7 .btn-send:hover {
	opacity: 0.5;
}
.legal {
	margin-bottom: 20px;
}
.legal p {
	font-size: 14px;
	color: var(--c-brown);
	margin-bottom: 0;
}
.legal p a {
	color: var(--c-blue);
	text-decoration: underline;
	transition: all 0.25s;
}
.legal p a:hover {
	opacity: 0.5;
}
/* --------------- MENSAJES */
.wpcf7 form .wpcf7-response-output {
	margin: 1rem 0;
	background: var(--c-primary);
	font-size: 14px;
	color: var(--black);
	text-align: center;
	padding: 20px;
}
.wpcf7 form.sent .wpcf7-response-output {
	background: var(--green-ok);
	color: var(--white);
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	background: var(--red-dark);
	color: var(--white);
}

/* ---------------------------------------- ARCHIVE - BIBLIOTECA */
/* --------------- BREADCRUMB */
.archive.post-type-archive-biblioteca.elementor-template-full-width
	.cs-breadcrumbs {
	padding: 0;
}
/* --------------- TITULO */
.archive.post-type-archive-biblioteca .cs-page__header {
	display: none;
}
/* --------------- ORDER DATE */
.archive.post-type-archive-biblioteca .btn-order a.activo {
	border-color: var(--c-brown) !important;
}
/* --------------- CONTENEDOR */
.archive.post-type-archive-biblioteca .cs-sidebar-right .cs-main-content {
	grid-template-columns: minmax(0, 1fr) !important;
}
.archive.post-type-archive-biblioteca.elementor-template-full-width
	.cs-site-content
	> .cs-container {
	/*max-width: max-content;*/
	width: 100%;
	margin: 0 auto;
}

/* ---------------------------------------- BIBLIOTECA */
/* --------------- CATEGORIA - LINK */
.biblio-category span a {
	font-family: var(--cs-font-category-family), sans-serif !important;
	font-size: var(--cs-font-category-size) !important;
	line-height: var(--cs-font-category-line-height) !important;
	font-weight: var(--cs-font-category-weight) !important;
	font-style: var(--cs-font-category-style);
	letter-spacing: var(--cs-font-category-letter-spacing);
	text-transform: var(--cs-font-category-text-transform);
	position: relative;
	display: flex;
	align-items: center;
	padding: 2px 5px !important;
	background: var(--cs-layout-background) !important;
	color: var(--cs-color-primary) !important;
	border-radius: var(--cs-tag-border-radius) !important;
	text-decoration: none !important;
}
.biblio-category span a:hover {
	background: var(--cs-color-button-hover) !important;
	color: var(
		--cs-color-category-hover,
		var(--cs-color-button-hover-contrast)
	) !important;
}
/* --------------- CATEGORIA - NO LINK */
.biblio-category span > span {
	font-family: var(--cs-font-category-family), sans-serif !important;
	font-size: var(--cs-font-category-size) !important;
	line-height: var(--cs-font-category-line-height) !important;
	font-weight: var(--cs-font-category-weight) !important;
	font-style: var(--cs-font-category-style);
	letter-spacing: var(--cs-font-category-letter-spacing);
	text-transform: var(--cs-font-category-text-transform);
	position: relative;
	display: inline;
	align-items: center;
	padding: 2px 5px !important;
	background: var(--cs-layout-background) !important;
	color: var(--cs-color-primary) !important;
	border-radius: var(--cs-tag-border-radius) !important;
	text-decoration: none !important;
	transition: all 0.25s;
}
.biblio-category span > span:hover {
	background: var(--cs-color-button-hover) !important;
	color: var(
		--cs-color-category-hover,
		var(--cs-color-button-hover-contrast)
	) !important;
}

/* ---------------TITULO */
.biblio-item-loop .elementor-heading-title a {
	color: var(--cs-color-title, var(--cs-color-primary)) !important;
	background: transparent !important;
}
.biblio-item-loop .elementor-heading-title a:hover {
	color: var(--cs-color-title-hover, var(--cs-color-secondary)) !important;
}

/* ---------------------------------------- BIBLIOTECA - SINGLE */
/* --------------- BREADCRUMB */
.single-biblioteca.elementor-template-full-width .cs-breadcrumbs {
	padding: 0;
}
/* --------------- CONTENEDOR */
.single-biblioteca .cs-sidebar-right .cs-main-content {
	grid-template-columns: minmax(0, 1fr) !important;
}
.single-biblioteca.elementor-template-full-width
	.cs-site-content
	> .cs-container {
	max-width: max-content;
	margin: 0 auto;
}

/* ---------------------------------------- CANCIONES */
/* --------------- TITULO */
.page-id-4780
	.cs-sidebar-disabled
	.cs-entry__header-featured
	.cs-entry__header-content {
	margin-left: 0;
}
/* --------------- CONTENEDOR */
@media (max-width: 768px) {
	.container-amanecer {
		display: grid;
		grid-template-columns: 1fr;
	}
	.container-amanecer .col-info {
		grid-row: 2;
	}
	.container-amanecer .col-iframes {
		grid-row: 1;
	}
}
/* --------------- SHARE ICONS */
.page-id-4780 .cs-share {
	display: flex;
	gap: 5px;
	flex-direction: column;
}
.page-id-4780 .cs-share__link {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	text-decoration: none;
	color: var(--cs-color-primary);
	transition: 0.25s;
	background-color: var(--c-brown-100);
	border-radius: 100%;
}
.page-id-4780 .cs-share__link:hover {
	color: var(--c-brown-100);
	background-color: var(--cs-color-primary);
}
.page-id-4780 .cs-entry__metabar-item.cs-entry__metabar-share {
	position: sticky;
	z-index: 2;
	top: calc(
		40px * 0.5 + var(--cs-wpadminbar-height) + var(--cs-floating-header-height)
	);
	transition: 0.4s;
}

.page-id-4780 .amanecer-share-mobile .cs-share {
	display: flex;
	gap: 5px;
	flex-direction: row;
}

