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

biok 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;
}

/*gofra*/

#page {
	display: flex;
    flex-direction: column;
    min-height: 100vh;
}
section {
	padding:3rem 0;
}
footer {
	margin-top:auto;
}
.f-contacto img {
	margin-bottom:1.5rem;
}
.border-urdina {
	border-color:var(--urdina) !important;
}
.menu-nagusia .navbar-brand img {
    max-height: 100px;
    width: auto;
    margin-bottom: 30px;
}
.entry-title, h1 {
    font-size: 3rem;
    margin: 30px 0;
	color:var(--urdina);
}
.home h1 {
  font-size: 3rem;
  margin: 30px 0;
  color: #000;
  background: #ffffff90;
  padding: 10px;
}
.single h1.entry-title {
  color:var(--urdina);
}
.single .entry-header {
	background: #fff;
}
.category .entry-header {
	padding: 0;
	background: #fff;
}
h2.entry-title{
font-size: 2rem;
}
a.contacto {
	background-color: #60435C; /*var(--urdina);*/
}
a.contacto:hover {
	background-color:#fff;
}
/*portfolio*/
.galeria-box {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}
.card-bertikala {
  display: flex;
  align-items: stretch;
  border-radius: 0;
  background-color: transparent;
  border: 0;
  margin-bottom: 20px;
}
.card-bertikala .card-img {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}
.card-bertikala .card-img img {
  max-width: 100%;
  transition: all 0.3s;
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1);
  object-fit: cover;
  align-self: stretch;
  position: relative;
}
.card-galeria .card-img {
    height: 300px;
}

.card-bertikala .card-img {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}
.card-bertikala .card-img:hover img {
    transform: scale(1.1);
}
.card-galeria {
    width: 30%;
    margin: 20px;
    border: 1px solid #ddd;
}
.galeria-item .card-galeria {
    width: 27%;
}
.galeria-item .card-galeria, .galeria-box .card-galeria {
    margin: 0;
}
.fancybox-show-thumbs .fancybox-inner {
    right: 0 !important;
}
.fancybox-show-thumbs .fancybox-thumbs {
	width:100%;
	background:#333;
	top:auto;
}
.fancybox-thumbs .fancybox-thumbs__list {
    margin: 0 auto;
}
/*kontaktua*/
/*forms*/
.contacto .nf-field-label label {
	font-weight:normal;
	font-size:1rem;
    line-height: 1rem;
}
.nf-form-cont {
	position:relative;
	padding-bottom:30px
}
.nf-before-form-content {
	position: absolute;
    bottom: 10px;
    font-size: 80%;
}
.checkbox-container.label-right .field-wrap>div.nf-field-label {
	width:auto;
}
.field-wrap.checkbox-wrap .nf-field-description {
	margin:0 0 0 5px;
	width:100%
}
.nf-field-description a {
	text-decoration:underline;
}
.nf-field-description a:hover {
	color:#fff
}
.nf-error-msg {
	font-size:90%;
}
.nf-field-description a:hover {
	color:#000
}
.nf-form-content{
	padding-bottom:20px;
}
.nf-response-msg {
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
	padding: 2rem;
	background-color: #fff;
	border-radius: .25rem;
}


/*custom*/
:root {
	--bs-urdina:#E2EAF3;
	--bs-testu-kolorea:#343434;
}
body {
	font-family:'Roboto Condensed', Arial, sans-serif;
	color:var(--bs-testu-kolorea);
}
.bg-urdina {
	background-color:var(--bs-urdina)
}
.azpikoa {
	display:flex;
	align-items:center;
	justify-content:space-between;
	flex-wrap:wrap;
}