/*
 * Estilos heredados del tema «Futurio Child» que usaba apcabos.es.
 * Se cargan para que el resto de páginas (Elementor, Ultimate Member, Popup Maker,
 * formularios, blog…) se sigan viendo igual. Se pueden desactivar en
 * Apariencia > Personalizar > Diseño APC > Compatibilidad.
 * Cambios respecto al original: rutas de fuentes y exclusión de los elementos
 * propios del tema (.apc-ui) en las reglas globales de fuentes y botones.
 */
/* Fonts */

@font-face {
	font-family: "Oswald";
	font-display: swap;
  	src: local("Oswald"), local("Oswald"),
    	url("../fonts/Oswald-Regular.ttf")
}

@font-face {
	font-family: "Oswald";
	font-display: swap;
  	src: local("Oswald-Bold"), local("Oswald-Bold"),
    	url("../fonts/Oswald-Bold.ttf");
  	font-weight: bold;
}

@font-face {
	font-family: "Oswald";
	font-display: swap;
  	src: local("Oswald"), local("Oswald"),
    	url("../fonts/Oswald-Regular.ttf")
}

@font-face {
	font-family: "LibreBaskerville";
	font-display: swap;
  	src: local("LibreBaskerville"), local("LibreBaskerville"),
    	url("../fonts/LibreBaskerville-Regular.ttf");
}

@font-face {
	font-family: "LibreBaskerville";
	font-display: swap;
  	src: local("LibreBaskerville-Bold"), local("LibreBaskerville-Bold"),
    	url("../fonts/LibreBaskerville-Bold.ttf");
	font-weight: bold;
}

@font-face {
	font-family: "LibreBaskerville";
	font-display: swap;
  	src: local("LibreBaskerville-Italic"), local("LibreBaskerville-Italic"),
    	url("../fonts/LibreBaskerville-Italic.ttf");
	font-style: italic;
}

h1:not(:where(.apc-ui, .apc-ui *, .apc-fonts *)), h2:not(:where(.apc-ui, .apc-ui *, .apc-fonts *)), h3:not(:where(.apc-ui, .apc-ui *, .apc-fonts *)), h4:not(:where(.apc-ui, .apc-ui *, .apc-fonts *)), h5:not(:where(.apc-ui, .apc-ui *, .apc-fonts *)) {
	font-family: "Oswald" !important;
}

h1 p:not(:where(.apc-ui, .apc-ui *, .apc-fonts *)), h2 p:not(:where(.apc-ui, .apc-ui *, .apc-fonts *)), h3 p:not(:where(.apc-ui, .apc-ui *, .apc-fonts *)), h4 p:not(:where(.apc-ui, .apc-ui *, .apc-fonts *)), h5 p:not(:where(.apc-ui, .apc-ui *, .apc-fonts *)) {
	font-family: "Oswald" !important;
}

p:not(:where(.apc-ui, .apc-ui *, .apc-fonts *)), span:not(:where(.apc-ui, .apc-ui *, .apc-fonts *)), a:not(:where(.apc-ui, .apc-ui *, .apc-fonts *)) {
	font-family: "LibreBaskerville" !important;
}


#wpadminbar * {
	font-family: inherit !important;
}

#wpadminbar .ab-icon {
    font-family: 'dashicons' !important;
}

/* Cookies */

#cookies-eu-banner {
	background-color: #00503e !important;
}

#cookies-eu-reject, .cookies-eu-reject {
    color: #FFF;
    border: 1px solid #FFF;
}

/* Elementor Items */

.elementor-cta--skin-classic .elementor-cta__content {
    background-color: #abd4af !important;
    border-radius: 20px;
    text-align: center;
}

.elementor-cta--skin-classic .elementor-cta__content-item, .elementor-cta--skin-classic .elementor-cta__content-item .elementor-icon {
	color: #1d1d1d;
}

/* Forms */

.um input[type=submit].um-button, .um input[type=submit].um-button:focus, .um a.um-button, .um a.um-button.um-disabled:hover, .um a.um-button.um-disabled:focus, .um a.um-button.um-disabled:active {
	background: #00503e !important;
}

/* Popups */

.pum-container.popmake {
	border-radius: 0px !important;
    border-color: #bb251e !important;
    opacity: 0.9 !important;
}

.pum-close.popmake-close {
    background: #00503e !important;
    color: #f1ca1f !important;
    padding: 10px 13px 12px !important;
    border: 4px solid #f1ca1f !important;
    margin-right: 10px !important;
    border-radius: 30px !important;
}

/* Texts */
.elementor-element.elementor-element-9b58731 .elementor-heading-title,
.elementor-heading-title.elementor-size-default {
	text-shadow: none !important;
}

/* Buttons */
.elementor-button:not(:where(.apc-fonts *)),
button.pum-trigger,
input[type=submit]:not(:where(.apc-ui, .apc-ui *, .apc-fonts *)),
button:not(:where(.apc-ui, .apc-ui *, .apc-fonts *)),
#cookies-eu-accept,
#cookies-eu-reject,
.cookies-eu-accept,
.cookies-eu-reject,
.wp-block-button__link:not(:where(.apc-fonts *)){
	border: 2px solid !important;
    border-color: #f1ca1f !important;
    border-radius: 10px !important;
    background: #00503e !important;
    color: #f1ca1f !important;
    font-weight: bold !important;
	text-shadow: none !important;
	box-shadow: none !important;
	text-transform: uppercase !important;
	letter-spacing: normal !important;
}

#cookies-eu-accept {
	color: white !important;
}

.elementor-button:not(:where(.apc-fonts *)):hover,
button.pum-trigger:hover,
input[type=submit]:not(:where(.apc-ui, .apc-ui *, .apc-fonts *)):hover {
    background: #f1ca1f !important;
    color: #1d1d1d !important;
}

/* Blog */

.date-meta {
	background-color: #00503e !important;
}

.content-date-comments span {
	color: #f1ca1f !important;
}

.news-item h2.entry-title a {
	color: #00503e !important;
    font-weight: bold !important;
    font-family: 'Oswald' !important;
    font-style: initial !important;
}



.news-thumb.col-md-6 img {
	border-radius: 0px !important;
    box-shadow: none !important;
}

.news-item {
    border-bottom: 1px dashed #00503e;
    padding: 20px 0px !important;
}

.navigation.pagination a.page-numbers {
	border: 2px solid;
    border-color: #f1ca1f !important;
    border-radius: 10px;
    background: #00503e;
    color: #f1ca1f !important;
    font-weight: bold;
}

.entry-footer {
    border-top: 1px solid #00503e;
    border-bottom: 1px solid #00503e;
}

nav.navigation.post-navigation {
	border-bottom: 1px solid #00503e;
}

/* Pages */

/* Home */

.home #gallery-1 img, .home #gallery-2 img, .home #gallery-3 img {
	border: none !important;
}

.elementor-element.elementor-element-7db13a4b.elementor-widget.elementor-widget-google_maps {
    border-radius: 20px !important;
    border: 4px solid #00503e;
    overflow: hidden;
}

.elementor-widget-video {
    border-radius: 25px !important;
    overflow: hidden;
}

#gallery-1, #gallery-2, #gallery-3 {
    margin: auto;
    display: flex;
}

#gallery-1 .gallery-item, #gallery-2 .gallery-item, #gallery-3 .gallery-item {
    float: none;
    display: flex;
    margin-top: 10px;
    text-align: center;
    width: 20%;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

article.news-item {
	padding: 0px 10px !important;
}

/* Contact */

input[type=text],
input[type=email],
input[type=file],
input[type=number],
input[type=tel],
select,
textarea {
    border: 2px solid #00503e !important;
    border-color: #00503e !important;
}

label {
	margin-bottom: 0px;
}

select {
	padding: 7px 12px !important;
}

.wpcf7-list-item {
    display: inline-block;
    margin: 0px 10px 0px 0px;
}

/* Components */

/* Accordion */
.elementor-accordion .elementor-tab-title, .elementor-toggle-item {
	background: #00503e;
    color: #FFF;
	border-radius: 5px;
}

.elementor-accordion .elementor-accordion-item,
.elementor-toggle .elementor-toggle-item {
	border: 0px !important;
	margin-bottom: 5px;
}

a.elementor-accordion-title:hover,
a.elementor-accordion-title:focus,
a.elementor-toggle-title:hover,
a.elementor-toggle-title:focus {
    color: #f1ca1f !important;
}

/* Blockquote */
blockquote {
	background: rgba(171, 212, 175, 0.5);
    border-left: 5px solid #00503e;
}

/* Icons */
a.elementor-icon.elementor-animation- {
    background: #ABD4AF;
    color: #00503E;
    padding: 25px;
    border-radius: 50px;
}

/* Footer */
footer#colophon {
    border-top: 4px solid #00503e;
}

@media (max-width: 767px) {
	#gallery-1 .gallery-item, #gallery-2 .gallery-item, #gallery-3 .gallery-item {
		width: 75% !important;
	}

	#gallery-1, #gallery-2, #gallery-3 {
		margin: auto;
		display: flex;
		flex-direction: column;
	}
}

.fa, .far, .fas {
	font-family: "Font Awesome 5 Free" !important;
}

@media only screen and (max-width: 600px) {
	#cookies-eu-banner-closed {
		bottom: 20px;
	}

	#cookies-eu-banner-closed:after {
		content: "Privacidad";
	}

	#return-to-top {
		bottom: 80px;
    	right: 30px;
	}
}

/* Forms */
#user-form-validation {
	color: #BB251E;
}

.form-data-success {
	display: block;
	width: 100%;
	text-align: center;
	color: #00503E;
}

/* User Profile */
#user-profile {
	text-align: center;
}

#user-profile h3 {
	color: #f1ca1f;
}

#user-profile h4 {
	color: #00503E;
}

/* Captcha */
.acf-field.acf-field-recaptcha.acf-field-63f8a658e1460 label {
    display: none;
}

/* Remove entry date */
.content-date-comments,
.date-meta {
	display: none;
}

/* Franja de título de las páginas (Futurio) */
.full-head-img:after {
	background-color: rgba(0,80,62,1) !important;
}

#return-to-top {
	bottom: 80px;
	right: 70px;
}
