/*
Theme Name:   Astra Child
Description:  Tema hijo 
Author:       Laia Shamirian
Author URL:   https://gastroculturasamara.es/ 
Template:     astra
Version:      1.0.108
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  astra-child
*/

/* CSS PIA */

/* :root */
:root {
    --primary-color: #BAD80A;
	--color-1: #81312F;
	--color-2: #BC8C3D;
	--color-3: #B86748;
	--color-4: #C48672;
	--color-5: #DEBC8B;
	--color-6: #B7BCB4;
	--color-7: #ADA07A;
	--color-8: #3A3A59;
	--white-color: #fff;
	--black-color: #282D26;
	--font-family-1: 'Playfair Display', sans-serif;
	--font-family-2: 'Libre Baskerville', sans-serif;
}
/* END - :root */


/* General styles */
body {
	background-color: var(--white-color);
}

/* Titles */
h1, h2, h3, h4 {
	color: var(--color-1) !important;
	font-family: var(--font-family-1) !important;
	font-weight: 700 !important;
}

.white-text h1,
.white-text h2,
.white-text h3,
.white-text h4,
.white-text h5,
.white-text p {
	color: var(--white-color) !important;
}

h1 {
    font-size: 3rem !important;
}

h2 {
    font-size: 2rem !important;
}

h3, h4, h5, h6 {
    font-size: 1.5rem !important;
}

.page-id-4080 h1 span,
.page-id-4273 h2 {
	display: block;
  	font-size: 28px !important;
}
/* END - Titles */

p, li, td, label {
	font-family: var(--font-family-2) !important;
	color: var(--black-color);
	font-weight: 400 !important;
}

a {
	color: var(--color-1);
}
/* END - General styles */


/* Buttons */
.primary-button a,
.primary-button a:hover,
.primary-button a:focus,
.primary-button a:visited,
.secondary-button a,
.secondary-button a:hover,
.secondary-button a:focus,
.secondary-button a:visited,
.tertiary-button a,
.tertiary-button a:hover,
.tertiary-button a:focus,
.tertiary-button a:visited,
.pum-overlay .pum-container .wpcf7-submit,
.noptin-form-submit.btn-primary {
	white-space: normal;
	border-radius: 0 !important;
	padding: 15px 40px !important;
	text-transform: uppercase !important;
	font-family: serif !important;
	font-size: 20px !important;
}

.primary-button a .elementor-button-text,
.secondary-button a .elementor-button-text,
.tertiary-button a .elementor-button-text {
	line-height: 1.5;
}

.primary-button a,
.primary-button a:hover,
.primary-button a:focus,
.primary-button a:visited,
.pum-overlay .pum-container .wpcf7-submit,
.noptin-form-submit.btn-primary {
	color: var(--white-color) !important;
	background-color: var(--color-2) !important;
}

.secondary-button a,
.secondary-button a:hover,
.secondary-button a:focus,
.secondary-button a:visited {
	color: var(--color-5) !important;
	background-color: var(--color-1) !important;
}

.tertiary-button a,
.tertiary-button a:hover,
.tertiary-button a:focus,
.tertiary-button a:visited {
	color: var(--color-1) !important;
	background-color: var(--color-5) !important;
}
/* END - Buttons */


/* Menu mobile */
.hfe-nav-menu__layout-horizontal.hfe-nav-menu__submenu-arrow.menu-is-active.hfe-dropdown {
	margin-top: 10px;
}
/* END - Menu mobile */


#home-blog-section .eael-entry-wrapper {
	height: 200px;
}

.page-id-4080 .text-same-h3 {
	font-size: 32px;
}

.page-id-4080 .text-home-1 {
	font-size: 24px;
}

.page-id-4080 .text-home-2 {
	font-size: 20px;
}


/* Highlight text */
.highlight-color-1,
.highlight-color-5 {
	position: relative;
}

.highlight-color-1::before,
.highlight-color-5::before {
	content: "";
    position: absolute;
    width: calc(100% + 4px);
    left: -3px;
	transform: rotate(-2deg);
	bottom: -1px;
	z-index: -1;
}

.highlight-color-1::before {
	height: 4px;
	background-color: var(--color-1);
}

.highlight-color-5::before {
	height: 8px;
	background-color: var(--color-5);
}

.highlight {
  display: inline;
  padding: .25em 0;
  background: #FFC107;
  color: #ffffff;
  box-shadow: .5em 0 0 #FFC107, -.5em 0 0 #FFC107;
}
/* END - Highlight text */


/* HOME - Texto en movimiento */
.page-id-4080 .marquee {
  	width: 100%;
  	overflow: hidden;
	/*transform: rotate(3deg);*/
}

.page-id-4080 .marquee li {
  	font-size: 30px;
	font-family: var(--font-family-1);
	color: black;
}

.page-id-4080 .marquee__content {
	display: flex;
  	list-style: none;
  	animation: scrolling 20s linear infinite;
}

@media (max-width: 425px) {
	.page-id-4080 .marquee__content {
		animation: scrolling 10s linear infinite;
	}
}

.page-id-4080 .marquee__item {
  	flex-shrink: 0;
}

@keyframes scrolling {
  	0% {transform: translateX(0)}
  	100% {transform: translateX(-100%)}
}
/* END - HOME - Texto en movimiento */


/* HOME - Descarga PDFs */
#descarga-pdf .descarga-pdf-txt h3 {
	line-height: 1.6;
	font-size: 17px !important;
    font-weight: 400 !important;
	font-family: var(--font-family-2) !important;
    color: var(--black-color) !important;
}
/* END - HOME - Descarga PDFs */


/* Post grid home */
.page-id-4080 .post-grid-home .eael-entry-wrapper {
	background-color: var(--color-5);
}

.page-id-4080 .post-grid-home a {
	color: var(--color-1) !important;
}
/* END - Post grid home */


/* Popups */
.pum-overlay.pum-active,
.pum-overlay.pum-active .popmake.active {
	opacity: 1 !important;
	display: block !important;
}

.pum-overlay {
	background-color: rgba(222, 188, 139, 0.5) !important;
}

.pum-overlay .pum-container {
	padding: 40px !important;
    border: none !important;
    box-shadow: none !important;
    background-color: var(--white-color) !important;
}

.pum-overlay .pum-container .pum-close {
	padding: 20px !important;
	font-size: 23px !important;
	color: var(--color-2) !important;
	box-shadow: none !important;
	background-color: transparent !important;
}

.pum-overlay .contact-form {
	margin-top: 3em;
}

.pum-overlay .contact-form .wpcf7-list-item {
	margin: 0;
}

.pum-overlay .contact-form .wpcf7-submit {
	margin-top: 1.2em;
}

/* Newsletter */
.noptin-popup__overlay {
	background-color: rgba(222, 188, 139, 0.5) !important;
}

.noptin-popup__container {
	width: 60%;
	height: auto;
}

@media (max-width: 768px) {
	.noptin-popup__container {
		width: 100%;
	}
}

.noptin-popup__container .noptin-optin-form-wrapper {
	border-color: var(--white-color) !important;
}

.noptin-popup__container .noptin-form-header {
	padding: 0 0 40px 0;
	font-weight: 400 !important;
	text-align: left;
	font-family: var(--font-family-2);
}

.noptin-popup__container .noptin-field-email {
	margin-bottom: 2em;
}
/* END - Newsletter */
/* END - Popups */


/* Cookies banner */
#moove_gdpr_cookie_info_bar {
	border: none !important;
	border-radius: 0 !important;
	box-shadow: rgb(0 0 0 / 13%) 0 3px 9px;
}
/* END - Cookies banner */


/* Footer Kit Digital */
.footer-kit-digital p {
	font-size: 13px;
}
/* END - Footer Kit Digital */


/* reCaptcha v3 */
.grecaptcha-badge {
    visibility: hidden;
}
/* END - reCaptcha v3 */


/* Tipografías */
@font-face {
	font-family: Playfair Display;
	src: url(https://gastroculturasamara.es/wp-content/themes/astra-child/fonts/PlayfairDisplay-Regular.ttf);
	font-weight: normal;
}

@font-face {
	font-family: Libre Baskerville;
	src: url(https://gastroculturasamara.es/wp-content/themes/astra-child/fonts/LibreBaskerville-Regular.ttf);
	font-weight: normal;
}
/* END - Tipografías */

/* END - CSS PIA */