/*
Theme Name: Basqueland 
Theme URI: https://them.es/starter
Author: Basqueland
Author URI: https://basquecountryguide.com/
Description: Basqueland is based on "Bootstrap Starter Theme"
Version: 3.5.4
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: basqueland
*/

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/*****************************************************************************************
BASQUELAND
******************************************************************************************/

.quick-admin-menu {
position:fixed; background: #eee; right: 0px; padding: 0 10px;	bottom:0px;
}

.navbar-brand {
  font-family: "Ysabeau Office", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
	margin-right: 20px;
	font-size: 1.3em;
	color: #fff !important;
}

#navbar li.nav-item a.nav-link {
	margin: 0 20px 0px 0px; border-bottom: 1px solid #ececec;
}

#navbar li.nav-item a.nav-link:hover {
	border-bottom: 1px solid #fff;
}

@media (min-width: 992px) { 

	#navbar li.nav-item a.nav-link {
	margin: 0 40px 0px 0px; 
}
}

#navbar .search-form {
min-width: 200px !important;	
}

#navbar .search-form * {
	font-size: 90%;
}

#navbar .search-form .btn-outline-secondary {
	background-color: #333;
	border-color: #fff;
	border-width: 1px;
	box-shadow: none;
	color: #999;
}

#navbar .search-form .btn-outline-secondary:hover {
	color: #fff;
}

#navbar li.nav-item a.nav-link.active {
	border-bottom: 4px solid;
	  padding-bottom: 4px;
}  

.gm-map {
	margin-top: 56px;
}

#main {
	margin-top: 5rem; margin-bottom: 5rem; font-size: 1.1rem;
}

h1,
h2.has-large-font-size {
  	font-family: "Ysabeau Office", serif;
	margin: 0px 0px 30px 0px;
	text-transform: uppercase;
	text-align: center;
	color: #D62718;
}

.recommended-hotels h2,
.nearby-list h2 {
	font-size: 2.5rem; 
}

.entry-content h2 {
	font-family: "Palatino Linotype", Palatino, "Book Antiqua", serif;
	font-size: 2.5rem; margin-top: 4rem; 
}

.entry-content h3 {
	font-family: "Palatino Linotype", Palatino, "Book Antiqua", serif;
	font-size: 1.8rem;  margin: 2rem 0 1rem 0; color: #029C46;
}
.entry-content h4 {
	font-size: 1.3rem; margin-top: 2rem; color: #029C46;
}

a {
		color: #029C46;
	text-decoration: none;
}

a:hover {
	color: #D62718;
}

.text-green {
	color: #029C46;
}

.bg-primary {
	  background: linear-gradient(to right, #D62718, 70%, #029C46);
	color: #ddd;
}

.bg-primary a {
	color: #ddd;
}

.bg-primary-reverse {
		  background: linear-gradient(to right, #029C46, 70%, #D62718) !important;
}

.bg-primary a:hover {
	color: #fff !important;
}

.text-hightlight {
	background: #029C46;
	color: #fff;
	padding: 5px 10px;
	border-radius: 10px;
}

.dropdown-item {
		font-size: 15px;
		padding-top: 0.17rem;
		padding-bottom: 0.17rem;
}

ul.dropdown-menu,
.dropdown-item.active,
.dropdown-item:active {
		background-color: #D62718 !important; 
}

.dropdown-item:hover {
	background-color: transparent !important;
}

h2.ebpg-entry-title {
	  font-family: "Ysabeau Office", serif;
	font-size: 20px;
	text-align: center;
	text-transform: uppercase;
}

.wp-caption-text, 
.wp-element-caption,
.caption {
	color: #bbb; font-size: 12px; text-align: right; padding: 5px 0px;
}

.wp-caption-text a,
.wp-element-caption a,
.caption a {
	color: #bbb;
	text-decoration: underline;
}

.wp-block-gallery {
  margin-top: 3rem;	
  margin-bottom: 3rem;	
}

.wp-block-gallery.has-nested-images figure.wp-block-image img {
  aspect-ratio: 1; 
	object-fit: cover;
}
.wp-block-gallery.has-nested-images figure.wp-block-image {
  flex-grow: 0; 
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	display: none;
}

/* Fix para eliminar el blur en la parte inferior de las imagenes */
.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before {
		backdrop-filter: none !important;
}

/* Fix para la lupa de lightbox que solo se muestra al hacer hover sobre la parte superior de una imagen */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption, .wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
  right: auto;	
}

/*
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	position: relative !important;
	background: inherit !important;
	color: #bbb;
	text-shadow: none;
	text-align: right; padding: 5px 0px 5px 0px !important;
	overflow: clip;
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a, .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
	width: inherit !important;
	height: inherit !important;
	text-decoration: underline;
}

.wp-block-image figure {
	margin: 2rem auto !important;
}

figure.wp-block-image {
	margin: 1rem auto !important;
	height: 100%;
}
*/

.distance {
	color: #666; 
}

aside {
	margin-top: 5rem;
}

#footer {
	padding: 0.5rem 0;
}

#footer p { 
	padding: 0.5rem 0;
	margin: 0;
}

#footer .nav-link {
	padding: 0.5rem 0.3rem;
	color: #ddd !important;
}

.post-meta {
  position: relative; top: -50px;	
}

.post-date {
	color: #999; font-size: 90%;
}

.post-categories a {
	display: inline-block; margin: 0px 0px 5px 5px; padding: 3px 10px; border-radius: 10px; background-color: #029C46; color: #eee; font-size:90%;
}

.post-categories a:hover {
	color: #fff;
}

.post-categories span {
		display: inline-block; margin: 0px 0px 0px 5px; padding: 3px 10px; border-radius: 10px; background-color: #D62718; color: #eee; font-size:90%;
}

.wp-block-pullquote {
	padding: 1.5em 0; color: orange !important;
}

.text-red {
	color: #D62718 !important;
}

.restaurant_icons img {
	width: 18px; height: 18px;
}

/*****************************************************************************************
GOOGLE FONTS
******************************************************************************************/

/* ysabeau-office-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Ysabeau Office';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/ysabeau-office-v4-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('./fonts/ysabeau-office-v4-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/*****************************************************************************************
CARDS
******************************************************************************************/

.card {
	border-width: 0px;
}

.nearby-list .card,
.recommended-hotels .card {
	background-color: inherit !important;	
}

.recommended-hotels .card h2.card-title {
	font-family: sans-serif;
	font-size: 18px;
	text-transform: none;
}

.recommended-hotels .card img { 
	height:200px;
}

.card h2.card-title {
	 font-family: "Ysabeau Office", serif;
	font-size: 20px;
	position: relative;
	top: 30px;
	height: 100%;
	z-index: 99;
	text-align: center;
	text-transform: uppercase;
}

.card h2.card-title a {
	color: #111;
	text-decoration: none;
}

.card .card-body {
	padding-left: 0; 
	padding-right: 0;
}

.card img.wp-post-image {
	height: 225px;
	width: 100%;
	object-fit: fill;
	border-radius: 12px;
}

.card img.wp-post-image {
    transition: 400ms;
}

.card img.wp-post-image:hover {
    filter: brightness(0.7); 
}

.card.default-grid-card h2 {
  font-family: "Ysabeau Office", serif;
  font-size: 18px;
  position: absolute;
  z-index: 99;
  text-align: center;
  text-transform: uppercase;
  bottom: 0px;
  padding: 0px 38px 0px 14px;
  width: 100%;
}

.card.default-grid-card h2 a {
	padding: 2px 8px; background-color: #111; color: #fff;
}

.card-blog h2 {
	font-family: "Palatino Linotype", Palatino, "Book Antiqua", serif;
	font-size: 2.2em !important; margin: 0.5em 0 0.5em 0; font-weight: bold;
}

.card-blog img {
	height: auto !important; 
	max-height: 350px; margin-bottom: 0.5rem;
}

/*****************************************************************************************
CONTACT FORM
******************************************************************************************/

.wpcf7-form  {
	background-color: #8ED1FC;
	padding: 1.5rem !important; margin-top: 1.5rem;
}

.wpcf7-form label {
	width: 100%; padding: 4px 0px;
}

.wpcf7-form textarea,
.wpcf7-form input[type=text],
.wpcf7-form input[type=email] {
	width: 100%; margin: 0; padding: 0.8rem; 
	color: #666; font-size: 14px; border-width: 1px; border-color: #444; border-style: solid; border-radius: 4px;
}

.wpcf7-form textarea {
	height: 150px;
}

.wpcf7-form input[type=submit] {
	width: 100%; margin: 0; padding: 0.8rem; 
	color: #fff; font-size: 16px; border-width: 0px; border-radius: 4px; background-color: #0F1828;  
}

.wpcf7-form input[type=checkbox] {
	margin: 0 5px 0 0;
}

.wpcf7 form.invalid .wpcf7-response-output, 
.wpcf7 form.unaccepted .wpcf7-response-output {
    margin: 0px !important; padding: 1.5rem !important; border: none; background-color: rgb(220 53 69); color: #fff;
}

.wpcf7 form.sent .wpcf7-response-output {
    margin: 0px !important; padding: 1.5rem !important; border: none; background-color: rgb(25 135 84); color: #fff;
}

.wpcf7-turnstile {
	margin-bottom: 1rem; text-align: center;
}

.wpcf7-not-valid-tip {
	color: red;
}

.screen-reader-response {
	display: none;
}