/*!
Theme Name: bascongada
Theme URI: https://elkarmedia.eus/
Author: Elkarmedia
Author URI: https://elkarmedia.eus/
Description: EKM custom theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bascongada

bascongada is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}
.wp-caption-text {
    text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}
.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}
.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}
.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}
.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}
.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}
.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}
.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}
.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}
.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}
.gallery-caption {
    display: block;
}

/* Alignments
--------------------------------------------- */
.alignleft {
    /*rtl:ignore*/
    float: left;
    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}
.alignright {
    /*rtl:ignore*/
    float: right;
    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}
.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

/* Accessibility
--------------------------------------------- */
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.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;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	right: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/*bascongada*/
#page {
	display: flex;
    flex-direction: column;
    min-height: 100vh;
}
footer {
	margin-top:auto;
}
/*header*/
.wpml-ls-legacy-list-horizontal {
    padding:0 3px;
}
.top-header i {
    color:#5b6543;
    font-size:1.5rem;
}
.breadcrumb {
    margin-bottom:0;
    padding:4px 0;
    font-size:0.8rem;
}
.f-contacto img {
	margin-bottom:1.5rem;
}
.footer-bottom {
    padding:1rem 0;
    position:relative;
}
.footer-bottom .credits,
.footer-bottom ul li a {
     color: var(--bs-white);
     font-size: 0.8rem;
}
.footer-bottom .arrow-top {
    position: absolute;
    top: 1em;
    right: 2em;
    color: var(--bs-white);
}
#menu-footerrekoa{
    list-style: none;
}
#menu-footerrekoa > li {
    padding-right: 10px;
}
.site-main {
    padding-top:5rem;
}
.home .site-main {
    padding-top:0;
}
#estekak,
#contacto {
    border-top:1px solid #f2e7d8;
}
.estructura-datos {
    margin:3em;
    padding:3em;
    background: #f2e7d8;
}
.estructura-datos h2 {
    padding:1rem 0 2rem;
}
.widget_tag_cloud .tagcloud {
    padding:0.5rem;
	display: flex;
    flex-wrap: wrap;
}
.widget_tag_cloud .tagcloud a,
.tag-list > a {
    background-color: #f2e7d8;
    padding: 8px 15px;
    text-align: center;
    font-size: 0.8rem !important;
    line-height: 1.2;
    margin: 5px;
}
.widget_tag_cloud .tagcloud a {
    font-size: 0.9rem !important;
}
.tag-list > a {
    padding:4px 6px;
}
.widget_tag_cloud .tagcloud a:hover,
.tag-list > a:hover {
    background: #5b6543;
    color: white;
}
#secondary {
    padding: 2rem;
    border-left: 1px solid #000;
    margin-top: 3rem;
}
.single #secondary {
    margin-top:0;
}
.navigation.post-navigation {
	margin:5rem 0
}
.nav-links {
    display:flex;
    align-items:center;
    justify-content: space-between;
    border-top:1px solid #5b6543;
    border-bottom:1px solid #5b6543;
    padding:1.5rem 0;
}

.nav-links > div {
    width:50%;
}
.nav-links > div > a {
    display: flex;
    justify-content: flex-end;
    align-items:center;
    line-height: 1rem;
}
.nav-links > div.nav-previous a {
    justify-content: flex-start;
}
.nav-links > div > a > .bi-arrow-right {
    margin-left:5px;
}
.nav-links > div > a > .bi-arrow-left {
    margin-right:5px;
}
.nav-links .page-numbers {
    display: inline-block;
    background-color: #f2ede4;
    color: #5b6543;
    margin:2px;
    min-width: 25px;
    padding: 0 3px;
    text-align: center;
}
.nav-links a.page-numbers:hover {
    background-color:#5b6543;
    color:#fff;
}
.go-albisteak {
    display: flex;
    justify-content:flex-end;
    align-items: center;
}
.go-albisteak a:hover {
    color:#5b6543
}
.wp-block-button__link {
    background-color:#5b6543
}
.wp-block-button__link:hover {
    background-color:#f2ede4;
    transition: all 0.3s ease;
}
.image-box img,
.attachment-post-thumbnail {
    max-width:100%;
    height:auto;
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1592px;
    }
}