@import url('https://fonts.googleapis.com/css?family=Open+Sans');

:root {
  --grisa1: #e9ecef;
  --grisa2: #cdd0d3;
  --grisa3: #91979d;
  --grisa4: #6c757d;
  --grisa5: #4c545d;
  --grisa6: #343a40;
  --color1: black;
  --facebookcolor: #999999;
  --twittercolor: #999999;
  --whatsappcolor: #999999;
  --telegramcolor: #999999;
}

/************/
body {
  font-family: var(--fonttext);
  font-size: var(--fonttextsize);
  font-weight: var(--fonttextweight);
  line-height: var(--fonttextlh);
  color: var(--fonttextcolor);
}

.container {
  width: 100%;
  max-width: 1170px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--fonttitle);
  font-weight: var(--fonttitleweight);
  color: var(--fonttitlecolor);
  letter-spacing: var(--fonttitleespace);
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
.h1 a,
.h2 a,
.h3 a,
.h4 a,
.h5 a,
.h6 a {
  color: var(--titlecolor) !important;
}

h1,
.h1 {
  font-size: var(--fonttitleh1);
  line-height: var(--fonttitleh1lh);
  margin-top: 1rem;
  margin-bottom: 2rem;
  position: relative;
}

.tk-description {
  font-family: var(--font2);
  font-weight: var(--font2weight);
}

h2,
.h2 {
  font-size: var(--fonttitleh2);
}

h3,
.h3 {
  font-size: var(--fonttitleh3);
}

h4,
.h4 {
  font-size: var(--fonttitleh4);
}

h5,
.h5 {
  font-size: var(--fonttitleh5);
}

h6,
.h6 {
  font-size: var(--fonttitleh6);
}

@media (max-width: 750px) {
  h1,
  .h1 {
    font-size: var(--fonttitleh1mobile);
  }

  h1.card-title {
    margin-top: 0;
  }

  h2,
  .h2 {
    font-size: var(--fonttitleh2mobile);
  }

  h3,
  .h3 {
    font-size: var(--fonttitleh3mobile);
  }

  h4,
  .h4 {
    font-size: var(--fonttitleh4mobile);
  }

  h5,
  .h5 {
    font-size: var(--fonttitleh5mobile);
  }
}

.grisa1 {
  color: var(--grisa1);
}

.grisa2 {
  color: var(--grisa2);
}

.grisa3 {
  color: var(--grisa3);
}

.grisa4 {
  color: var(--grisa4);
}

.grisa5 {
  color: var(--grisa5);
}

.grisa6 {
  color: var(--grisa6);
}

.color1 {
  color: var(--color1) !important;
}

.color2 {
  color: var(--color2) !important;
}
.spacerx2 {
  height: 2rem;
}
.tk-content ul li {
  list-style-image: url('../img/gezia.png');
}

.tk-content ul.nav li {
  list-style-image: none !important;
}

.tk-content ul.nav {
  margin-bottom: 2rem;
}

ul.list-unstyled li {
  list-style-image: none;
}

.tk-fontsmall,
.tk-content .tk-fontsmall {
  font-size: 1rem;
  line-height: 1.6rem;
}

.tk-fontxsmall,
.tk-content .tk-fontxsmall {
  font-size: 0.9rem;
  line-height: 1.4rem;
}

.tk-answers .oi {
  font-size: 80%;
}

.-block-first .card h5 {
  font-size: 220%;
}

.media p {
  font-size: 0.9rem;
  line-height: 1.2rem;
}

.tk-block > div {
  padding: 1rem 0 0 0;
}

.tk-block .h3 {
  padding-bottom: 0.4rem;
  margin-top: 0.2rem;
  display: inline-block;
}

.tk-block .jumbotron {
  margin-bottom: 1rem;
}

#tk-gidanegozioa {
  margin-bottom: 1rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.card {
  margin-bottom: 1rem;
}

iframe {
  max-width: 100%;
}

.zitakakotx,
.zitaeskuin,
.zitaezker {
  padding: 1rem 0;
  margin: 1rem auto;
  font-size: 130%;
  position: relative;
  max-width: 70%;
  border-top: 3px solid var(--color1);
  border-bottom: 3px solid var(--color1);
  font-family: var(--fonttitle);
  font-weight: 600;
}

.zitakuadro1 {
  padding: 1rem 1rem 0.1rem 1rem;
  margin: 1rem 0;
  font-size: 110%;
  position: relative;
  font-weight: 600;
  background-color: var(--grisa1);
  text-align: center;
}

.zitakuadro2 {
  padding: 1rem 1rem 0.1rem 1rem;
  margin: 1rem 0;
  font-size: 110%;
  position: relative;
  font-weight: 600;
  background-color: var(--color1);
  text-align: center;
  color: white;
}

.zitakuadro3 {
  padding: 1rem 1rem 0.1rem 1rem;
  margin: 1rem 0;
  font-size: 110%;
  position: relative;
  font-weight: 600;
  background-color: var(--color2);
  text-align: center;
  color: white;
}

.zitakakotx p:last-child,
.zitaeskuin p:last-child,
.zitaezker p:last-child {
  margin-bottom: 0;
}

.zitaeskuin {
  max-width: 45%;
  float: right;
  margin-left: 5%;
}

.zitaezker {
  max-width: 45%;
  float: left;
  margin-right: 5%;
}

@media (max-width: 500px) {
  .zitakakotx,
  .zitaeskuin,
  .zitaezker {
    margin: 1rem auto;
    max-width: 95% !important;
    float: none !important;
  }
}

.jumbotron .zitalerroekin {
  border-top: 1px solid white;
  border-bottom: 1px solid white;
}

.zitalerroekin {
  border-top: 1px solid var(--color1);
  border-bottom: 1px solid var(--color1);
  font-style: italic;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
}

.zitalerroekin p:last-child,
.zitaezker p:last-child,
.zitaeskuin p:last-child {
  margin-bottom: 0 !important;
}

.jumbotron .zitalerroekin {
  border-top: 1px solid white;
  border-bottom: 1px solid white;
}

/****taulak***/
table {
  margin-bottom: 1rem;
  border: 1px solid var(--grisa1);
}

.table td {
  padding: 3px;
}

.taula-generikoa th,
.table th,
.taula-generikoa td,
.table td {
  border: 1px solid var(--grisa1);
  border-bottom: 1px solid var(--grisa2);
  padding: 3px;
}

.taula-lerroduna th,
.taula-lerroduna td {
  border: 1px solid var(--grisa1);
  padding: 3px;
}

.taula-ezkutukoa th,
.taula-ezkutukoa td {
  padding: 3px;
}

.taula-lerroduna tr:nth-child(even) td {
  background-color: var(--grisa1);
}

.taula-lerroduna tr:nth-child(odd) td {
  background-color: var(--grisa2);
}

.taula-lerroduna thead tr:nth-child(odd) td,
.taula-lerroduna thead tr:nth-child(even) td {
  background-color: var(--grisa3);
}

table th,
table thead td {
  background-color: var(--grisa3);
  color: white;
  font-weight: bold;
}

.taula-generikoa th,
.taula-generikoa thead td {
  background-color: var(--color1);
  color: white;
  font-weight: bold;
}

.taula-ezkutukoa,
.taula-ezkutukoa th,
.taula-ezkutukoa td {
  border: none !important;
}

table caption {
  display: none;
}

img {
  max-width: 100%;
  height: auto;
}

button:focus {
  outline: none;
}

b,
strong {
  font-weight: bold;
}

.jumbotron {
  padding: 2rem;
}

/*.card-text,*/
.tk-datePublished,
.card-header,
.tk-articletags,
.badge,
.tk-display-signature,
.tk-eventtype,
.tk-img-text,
.tk-author,
.tk-author-card,
.tk-location {
  font-family: var(--font0);
}

.tk-display-signature img {
  max-width: 30px;
}

.tk-photoinfonfo {
  margin-bottom: 1rem;
}

.tk-photofooter {
  font-size: 1rem;
  color: var(--grisa6);
  font-style: italic;
}

.tk-articlebody {
  font-size: 1.1rem;
  line-height: 1.8rem;
}

.tk-content p {
  margin-bottom: 1.1rem;
}

.tk-description {
  font-size: 1.4rem;
  font-weight: 600;
}

.tk-light {
  background: var(--grisa1);
}

.tk-dark {
  color: white;
  background: var(--grisa5);
  border-bottom: 1px solid white;
}

.tk-black {
  color: white;
  background: black;
  border-bottom: 1px solid white;
}

.tk-purple {
  color: white;
  background: #8859aa;
  border-bottom: 1px solid white;
}

.tk-color {
  color: white;
  background: var(--color1);
  border-bottom: 1px solid white;
}
.tk-white {
  background-color: white;
}

.tk-dark a,
.tk-black a {
  color: var(--grisa1) !important;
}

.tk-color a,
.tk-purple a {
  color: white !important;
}

.tk-dark navbar h3,
.tk-black navbar h3 {
  color: var(--grisa1) !important;
}

.tk-color,
.tk-purple {
  color: white !important;
}

.tk-dark h1 a,
.tk-black h1 a,
.tk-color h1 a,
.tk-purple h1 a,
.tk-dark h2 a,
.tk-black h2 a,
.tk-color h2 a,
.tk-purple h2 a,
.tk-dark h3 a,
.tk-black h3 a,
.tk-color h3 a,
.tk-color h3 a,
.tk-dark h4 a,
.tk-black h4 a,
.tk-color h4 a,
.tk-purple h4 a,
.tk-dark h5 a,
.tk-black h5 a,
.tk-color h5 a,
.tk-purple h5 a,
.tk-dark h6 a,
.tk-black h6 a,
.tk-color h6 a,
.tk-purple h6 a {
  color: white !important;
}

.tk-dark img,
.tk-black img {
  border: 1px solid var(--grisa4);
}

.tk-color img,
.tk-purple img {
  border: 1px solid white;
}

.tk-dark .tk-datePublished,
.tk-black .tk-datePublished,
.tk-dark .tk-author-card,
.tk-black .tk-author-card {
  color: var(--grisa1) !important;
}

.tk-color .tk-datePublished,
.tk-color .tk-author-card,
.tk-purple .tk-datePublished,
.tk-purple .tk-author-card {
  color: white !important;
}

.tk-dark .bg-light,
.tk-dark .bg-light a,
.tk-color .bg-light,
.tk-color .bg-light a,
.tk-purple .bg-light,
.tk-purple .bg-light a,
.tk-black .bg-light,
.tk-black .bg-light a {
  color: #333 !important;
}

.tk-dark .tk-newspaper a,
.tk-color .tk-newspaper a,
.tk-purple .tk-newspaper a,
.tk-black .tk-newspaper a {
  color: black !important;
}

.tk-newspaper img {
  max-width: 70%;
}

.tk-flex {
  display: flex;
}

.tk-date-published,
.tk-date,
.tk-author-card {
  color: var(--grisa5);
}

.tk-datePublished {
  color: var(--grisa5);
  font-size: 0.8rem;
  white-space: nowrap;
}

.tk-publi {
  margin: 0 auto !important;
  text-align: center;
}

.tk-block .tk-publi {
  border-top: 5px solid var(--grisa1);
}

.tk-dark .tk-block .tk-publi,
.tk-black .tk-block .tk-publi {
  border-top: 5px solid var(--grisa6);
}

.tk-color .tk-block .tk-publi {
  border-top: 5px solid white;
}

.tk-publi.sticky-top,
.tk-socialbuttons.sticky-top {
  top: 130px;
}

.publia1 {
  height: 65%;
}

.publia2 {
  height: 33%;
  margin-top: 2%;
}

.tk-callaction.sticky-top {
  top: 103px;
  z-index: auto;
}

.tk-callaction h5 {
  text-align: center;
}

.tk-tags a {
  margin-right: 10px;
}

.tk-gidacard {
  line-height: 1.3em;
}

.tk-border3 {
  border: 3px solid var(--grisa1);
}

.tk-shadow {
  box-shadow: 0 3px 5px rgba(1, 1, 1, 0.3);
  border: 1px solid var(--grisa1);
}

.tk-form .form-control {
  width: auto;
  display: inline-block;
  max-width: 100%;
}

.tk-form label {
  font-weight: bold;
}

.tk-related img {
  max-width: 60px;
  margin-top: 5px;
}

.tk-related a {
  font-weight: bold;
  color: black !important;
}
.tk-dark .tk-related a,
.tk-black .tk-related a {
  color: white !important;
}
.tk-advertisement {
  background-color: white;
  padding: 1rem;
  margin-bottom: 1rem;
  font-family: var(--font2);
  border-color: var(--grisa1) !important;
  border-left: 4px solid var(--grisa1) !important;
  padding-left: 1.5rem !important;
}

.tk-advertisement h3 {
  font-size: 1.4rem;
}

.tk-advertisement h5 {
  font-weight: 1.1rem;
  font-size: 90%;
}

.tk-sendmore {
  border-bottom: 1px solid var(--grisa1);
  padding-bottom: 1rem;
}

.tk-anchor {
  padding: 80px;
  position: relative !important;
  overflow: hidden;
}

.tk-anchor a {
  margin-top: -80px;
  display: block;
  position: absolute !important;
}

.tk-number {
  font-family: var(--font2);
  color: var(--grisa4);
}

.tk-zozketa h4 a,
.tk-zozketa h5 a {
  color: black !important;
}

.tk-zozketa h4 {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.04rem;
}

.tk-card-zozketa {
  border: 3px solid var(--grisa2);
  padding: 1.2rem;
  display: block;
  float: left;
  background-color: white;
}

.tk-card-zozketa img {
  max-width: 65%;
  transform: rotate(-10deg);
  margin-top: 1rem;
  float: left;
  margin-left: 0.5rem;
}

.tk-card-zozketa a.btn {
  max-width: 60%;
  float: right;
  margin-top: -4rem;
  z-index: 999;
  position: relative;
  margin-bottom: 3rem;
}

.tk-iragarki {
  background-color: var(--grisa1);
  padding: 1rem;
  font-size: 0.9rem;
}

.tk-armarria {
  padding: 1rem 0;
}

.tk-armarria h5 {
  font-size: 2rem;
}

.tk-armarria img {
  border: 4px solid white;
}

.tk-dark .tk-armarria a,
.tk-black .tk-armarria a,
.tk-color .tk-armarria a {
  color: white !important;
}

.tk-armarria img {
  max-height: 150px;
  float: right;
}

@media (max-width: 770px) {
  .w-100 {
    width: 100vw !important;
  }
}

/****goiburua**/
.tk-header {
  border-top: 2px solid var(--grisa1);
  /*padding-top:1rem;*/
}

.tk-subheader > div {
  padding: 0.1rem;
}

.navbar-light .navbar-toggler {
  padding: 0.15rem 0.4rem;
  margin-left: 6px;
}

.navbar-light .navbar-toggler[aria-expanded='false'] .navbar-toggler-icon {
  background-image: url('../img/i_menu.png');
}

.navbar-light .navbar-toggler[aria-expanded='true'] .navbar-toggler-icon {
  background-image: url('../img/i_close.png');
}

#communityform input#id_title {
  width: 100%;
}

.tk-header #useroptions .oi-person::before {
  background-color: var(--grisa1);
  padding: 10px;
  border-radius: 50%;
  color: var(--grisa5);
}

.navbar-brand img {
  max-width: 200px;
}

.tk-subheadereffect img {
  width: 100%;
}

#navbarSupportedContent {
  font-size: 14px;
  top: 69px;
}

#navbarSupportedContent .tokikom_logoa {
  text-align: right;
}

#navbarSupportedContent .dropdown-menu {
  border: none;
  background-color: transparent;
  font-size: 14px;
}

.dropdown-toggle::after {
  position: absolute;
  top: 20px;
  right: 0;
}

.dropdown-item.active,
.dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: transparent !important;
}

/************ikonoaK****/

.tk-img-card-caption {
  bottom: 0px;
  left: 0px;
  padding: 4px 1px 1px 1px;
  line-height: auto;
}

/************MENU BEROA*********/

.section-nav {
  border-top: 0;
  overflow: auto;
  position: relative;
  padding-bottom: 0.5em;
  white-space: nowrap;
}

.section-nav ul {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  display: flex;
  margin: auto;
  list-style: none;
  margin: 0.2em 0 0.2em 0;
  padding: 0;
}

.section-nav ul li a {
  border: 0;
  font-size: 16px;
  line-height: 35px;
  margin: 0;
  padding: 5px 15px;
  white-space: nowrap;
  margin: 0 10px 0 0;
}

.section-nav ul li a:hover {
  text-decoration: none;
}

@media (max-width: 750px) {
  .section-nav ul.justify-content-center {
    -ms-flex-pack: center !important;
    justify-content: inherit !important;
  }

  .tk-subheadereffect .container {
    position: relative;
  }

  .tk-subheadereffect .container::after {
    background: url(../img/degr.png) no-repeat top right;
    display: block;
    content: '';
    width: 29px;
    height: 38px;
    position: absolute;
    right: 0.9rem;
    top: 0;
  }

  .section-nav ul li a {
    margin-right: 20px;
  }
}

.text-danger .oi {
  color: #cc0000 !important;
}

/**END
 MENU BEROA*/

/****menua desplegatua**/

#navbarSupportedContent {
  padding: 1rem 15px;
  position: absolute;
  width: 100%;
  background-color: white;
  z-index: 999;
  border-bottom: 3px solid var(--color1);
  background-color: #f8f9fa;
  box-shadow: 0 3px 5px rgba(1, 1, 1, 0.3);
  left: 0;
}

#navbarSupportedContent a {
  color: var(--titlecolor) !important;
}

#navbarSupportedContent .close {
  float: none;
  padding: 0 5px 5px 5px;
  color: #000000 !important;
  font-size: 40px;
  font-weight: normal;
}

button.close .text-left {
  color: #000000 !important;
}

#navbarSupportedContent .menua01,
#navbarSupportedContent .menua02 {
  text-transform: uppercase;
}

#navbarSupportedContent .menua01 {
  font-weight: 600;
}

#navbarSupportedContent .menua01 ul {
  border-right: 1px solid var(--grisa2);
  padding-right: 1rem;
  margin-left: 1rem;
}

#navbarSupportedContent .menua02 li {
  padding-left: 1.5rem;
}

#navbarSupportedContent .menua02 li i {
  margin-left: -1.5rem;
  margin-right: 0.5rem;
}

#navbarSupportedContent .menua03 ul {
  border-left: 1px solid var(--grisa2);
  padding-left: 2rem;
}

#navbarSupportedContent .menua03 ul li::before {
  content: '>>';
  display: block !important;
  float: left;
  color: var(--color1);
  padding-top: 10px;
  margin-right: 1rem;
}

@media (max-width: 500px) {
  #navbarSupportedContent .menua01 ul,
  #navbarSupportedContent .menua02 ul,
  #navbarSupportedContent .menua03 ul {
    margin: 0;
    padding: 0;
    border: none;
  }

  #navbarSupportedContent .menua03 ul {
    margin-top: 1rem;
    border-top: 1px solid var(--grisa2);
    padding-top: 1rem;
  }

  #navbarSupportedContent .menua01 ul {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--grisa2);
  }

  .sare_sozialak_menua {
    margin-top: 1rem !important;
  }

  header {
    display: none;
  }
}

#navbarSupportedContent .fa-solid,
#navbarSupportedContent .fa-regular,
#navbarSupportedContent .fa-brands {
  margin-right: 1rem;
}

#navbarSupportedContent .sare_sozialak_menua .fa-brands,
#navbarSupportedContent .sare_sozialak_menua .fa-regular {
  font-size: 24px;
  background-color: white;
  padding: 10px;
  border-radius: 50%;
  margin-right: 1rem;
  display: inline-block;
  width: 50px;
  height: 50px;
  color: var(--grisa5);
  text-align: center;
}

@media (max-width: 500px) {
  #navbarSupportedContent .sare_sozialak_menua .fa-brands,
  #navbarSupportedContent .sare_sozialak_menua .fa-regular {
    margin-right: 0.3rem;
  }
}

#navbarSupportedContent .sare_sozialak_menua {
  border-top: 1px dotted var(--grisa2);
  padding-top: 1rem;
  margin-top: 2rem;
}

#useroptions {
  margin-right: 15px;
}

#useroptions .fa-circle-user {
  font-size: 1.7rem;
  color: var(--grisa4);
}

@media (max-width: 500px) {
  #useroptions {
    margin-right: 5px;
  }
}

#useroptions .dropdown-menu {
  padding: 0.8rem;
  left: auto !important;
  right: 0 !important;
  background-color: white;
  min-width: 320px;
  border-color: var(--grisa2);
}
@media (max-width: 770px) {
  #useroptions .dropdown-menu {
    width: 100vw;
    padding-bottom: 10rem;
  }
}
#useroptions .dropdown-menu li {
  border-bottom: 1px solid var(--grisa1);
  padding-bottom: 0.4rem;
  margin-bottom: 0.4rem;
}

#useroptions .dropdown-menu li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
#useroptions .dropdown-menu li a {
  color: var(--color1) !important;
}
.dropdown-toggle[aria-expanded='true']::after {
  border-bottom: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-top: 0;
  border-left: 0.3em solid transparent;
}

/***********AGENDA**********/
@media (max-width: 750px) {
  .tk-agendaindex h2.h4 {
    font-size: 1.8rem !important;
  }

  .tk-agendaindex .tk-ordua {
    font-size: 1.5rem;
  }
}

.tk-display-signature {
  border-top: 1px solid var(--grisa1);
  border-bottom: 1px solid var(--grisa1);
  height: 45px;
}

.tk-display-signature img {
  padding: 2px;
}

.tk-articleimage span {
  clear: both;
  font-size: 1rem;
  line-height: 120%;
  margin-top: 0.75rem;
  font-style: italic;
  display: block;
  color: var(--grisa5);
}

.tk-articletags span {
  background-color: var(--grisa1);
  margin-right: 10px;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9rem;
  text-transform: uppercase;
}

@media (max-width: 350px) {
  .tk-author {
    font-size: 1rem;
    margin-right: 0 !important;
  }

  .tk-datePublished {
    font-size: 1rem;
  }
}

@media (max-width: 750px) {
  .section-nav ul.justify-content-center {
    justify-content: left !important;
  }
}

.tk-calendar table {
  width: 100%;
  margin-bottom: 1rem;
  background-color: white;
}

.tk-calendar table th,
.tk-calendar table td {
  text-align: center;
}

.tk-calendar table th.agenda_month {
  background-color: var(--color1);
  color: white !important;
}

.tk-place img {
  max-height: 150px;
}

.tk-ordua,
.tk-eventdate {
  color: var(--grisa4);
  font-family: var(--fontSerif);
}

.tk-eventdate {
  border-bottom: 1px dotted var(--grisa2);
  line-height: 1rem;
  padding-bottom: 0.5rem;
}

/***** agenda bloke berria ****/

.tk-event2 {
  margin-top: 1.5rem;
}

.tk-eventdate2 {
  position: absolute;
  background-color: white;
  color: black;
  text-align: center;
  text-transform: uppercase;
  top: -1rem;
  left: 105px;
  margin-left: -45px;
  padding: 0.7rem 0.5rem;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  z-index: 9;
  min-width: 90px;
}

.tk-day2 {
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.6rem;
}

/*********************************/

.tk-ikusienak {
  padding-top: 1.7rem;
  justify-content: center;
}

@media (max-width: 770px) {
  .tk-ikusienak .col {
    min-width: 50%;
    max-width: 50%;
  }
}

/****** ikusienak berria ***********/

.tk-number {
  position: absolute;
  background-color: white;
  top: -1.7rem;
  z-index: 9;
  font-size: 3.5rem;
  color: black;
  border-radius: 10px;
  left: 0.5rem;
  min-width: 3.6rem;
  text-align: center;
  line-height: 3.7rem;
  font-weight: 500;
}

.tk-light .tk-number {
  background-color: #e9ecef;
}

.tk-dark .tk-number {
  background-color: #4c545d;
  color: white;
}

.tk-black .tk-number {
  background-color: black;
  color: white;
}

.tk-ikusienak h5 {
  font-size: 1rem;
}

/**********************************/

@media only screen and (max-width: 375px) {
  .tk-eventdate {
    border: none !important;
    padding-bottom: 0 !important;
  }

  .tk-amaieraordua {
    display: inline;
    margin-left: 0.5rem;
  }

  .tk-amaieraordua::before {
    display: inline-block;
    content: '-';
    margin-right: 0.5rem;
  }
}

.tk-eventplace {
  color: var(--grisa4);
  font-family: var(--fontSerif);
  line-height: 1rem;
  padding-top: 0.5rem;
  display: block;
  min-height: 40px;
}

.tk-eventphoto {
  max-width: 80%;
}

.tk-calendar .hilebetea a {
  text-decoration: none !important;
}

.tk-calendar .hilebetea a.tk-currentday {
  background-color: var(--color1);
  color: white !important;
}

.tk-block .tk-newspaper,
.tk-paper-item {
  margin-bottom: 1rem;
  text-align: center;
  background-color: var(--grisa1);
  padding: 0.8rem 0.5rem 0 0.5rem;
}

.tk-paper-item.exclusive-content {
  position: relative;
}

.tk-paper-item.exclusive-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 87px;
  height: 108px;
  background: url('/static/img/i_pribatua.svg') no-repeat top left;
}

.tk-block .tk-newspaper,
.tk-paper-item {
  -webkit-transition: all 0.9s ease;
  /* Safari y Chrome */
  -moz-transition: all 0.9s ease;
  /* Firefox */
  -o-transition: all 0.9s ease;
  /* IE 9 */
  -ms-transition: all 0.9s ease;
  /* Opera */
  width: 100%;
}

.tk-block .tk-newspaper:hover,
.tk-paper-item:hover {
  -webkit-transform: scale(1.15);
  -moz-transform: scale(1.15);
  -ms-transform: scale(1.15);
  -o-transform: scale(1.15);
  transform: scale(1.15);
}

#tk-calendar table {
  width: 100%;
}

#tk-calendar .agenda_month {
  text-align: center;
  padding: 5px;
}

#tk-calendar th {
  text-align: center;
}

#tk-calendar td {
  text-align: right;
}

.tk-block .tk-newspaper h6,
.tk-paper-item h6 {
  padding: 0.5rem;
}

/*iluna*/
.tk-dark .tk-ordua,
.tk-dark .tk-eventdate,
.tk-black .tk-ordua,
.tk-black .tk-eventdate {
  color: var(--grisa2);
}

.tk-color .tk-ordua,
.tk-color .tk-eventdate {
  color: white;
}

.tk-dark .tk-eventdate,
.tk-black .tk-eventdate {
  border-bottom: 1px dotted var(--grisa1);
}

.tk-color .tk-eventdate {
  border-bottom: 1px dotted white;
}

.tk-dark .tk-eventplace,
.tk-black .tk-eventplace {
  color: var(--grisa2);
}

.tk-color .tk-eventplace {
  color: white;
}

.tk-dark .card .bg-light,
.tk-black .card .bg-light,
.tk-color .card .bg-light {
  background-color: rgba(255, 255, 255, 0.5) !important;
}

.tk-dark h5,
.tk-black h5,
.tk-color h5,
.tk-purple h5 {
  color: white;
}

/****kontaktua***/
.tk-contactform {
  background-color: var(--grisa1);
  max-width: 80%;
  margin: 0 auto;
}

.tk-contactform textarea {
  width: 100% !important;
}

@media only screen and (max-width: 347px) {
  .tk-contactform {
    max-width: 100%;
  }
}

/**/
.tk-berezia {
  text-transform: uppercase;
  font-weight: bold;
  line-height: 1.2em;
  display: inline-block;
  font-family: var(--font0);
  margin-bottom: 0.3rem;
}

.tk-opinion {
  margin: 0 -15px;
  padding: 15px;
  position: relative;
}

.tk-opinion::after {
  content: '';
  display: block;
  position: absolute;
  width: 1px;
  height: 180px;
  top: 40px;
  right: 0;
  background-color: var(--grisa4);
}

.row.tk-scrollx {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: scroll;
}

@media (max-width: 750px) {
  .tk-opinion::after {
    content: none;
  }

  .tk-opinion .card {
    border-bottom: none !important;
  }

  .tk-opinion:last-child {
    border: none;
  }
}

.tk-opinion .card-text {
  margin-top: 2rem;
}

.tk-opinion .card-title {
  font-family: var(--fontSerif);
  font-weight: normal;
  line-height: 1.2em;
}

.carousel-control-prev {
  position: absolute;
  top: 30%;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
  color: #fff;
  text-align: center;
  opacity: 0.5;
}

.carousel-control-next {
  position: absolute;
  top: 30%;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
  color: #fff;
  text-align: center;
  opacity: 0.5;
}

.tk-line {
  border-top: 1px solid var(--grisa1);
  border-bottom: 1px solid var(--grisa1);
}

/*****blogak*****/
.tk-blogpost {
  text-align: center;
  padding: 1rem;
}

.tk-blogpost img {
  max-height: 100px;
  width: auto !important;
  border: 3px solid var(--grisa2);
  border-radius: 6px;
}

/******/
.col-sm-6.tk-maximun {
  /*2naka dauden albisteak ez daitezen oso zabalak izan portadan*/
  max-width: 400px;
}

/******webcam +sea**/
.tk-webcamsea .tk-weather .row {
  display: inline-flex !important;
}

.tk-camera {
  text-align: center;
  display: flex;
  justify-content: center;
}

.tk-camera img {
  border-top: 4px solid var(--color1);
  width: 400px;
}

.tk-webcamsea table {
  margin-bottom: 0.5rem;
  border-top: 4px solid var(--color1);
}

.tk-webcamsea table td {
  padding: 5px 8px;
  background-color: var(--grisa1);
  border-right: 1px solid white;
}

.tk-webcamsea .tk-weather .col-sm-4 {
  width: 100%;
  max-width: 100%;
  flex: 100%;
  text-align: center;
}

.tk-webcamsea > .col-sm-4 {
  margin-bottom: 1rem;
}

.tk-webcamsea .tk-beach p {
  text-align: right;
  font-size: 90%;
}

.tk-weather-bg {
  background-color: var(--grisa1);
  padding: 0 2rem;
  border-top: 4px solid var(--color1);
}

.tk-beach ul li,
.tk-sea ul li {
  list-style-image: url('/static/img/gezia.png?70bb9e60c97e');
  margin-bottom: 0.5rem;
}

@media (max-width: 375px) {
  .tk-sea,
  .tk-beach {
    border-left: none;
    border-top: 2px dotted var(--grisa2);
    padding-top: 1rem;
  }
}

.tk-sea table.table {
  border: none;
  margin-left: 1rem;
  margin-top: 1rem;
  max-width: 400px;
}

.tk-sea table td {
  padding: 2px;
  border: none !important;
  border-bottom: 1px solid white !important;
}

.tk-webcam .tk-sea {
  border: none;
}

.tk-seaforecastday {
  color: var(--color1);
  font-weight: 600;
}

/**************/
.tk-eginbazkide {
  padding: 2rem;
  display: inline-block;
  width: 100%;
}

.tk-eginbazkide h3 {
  font-size: 1.2rem;
}

.tk-eginbazkide img {
  border: 2px solid white;
}

.tk-eginbazkide img:hover {
  transform: rotate(5deg);
  box-shadow: 5px 5px 5px rgba(1, 1, 1, 0.3);
}

/********/
.tk-menuhorizontala {
  margin-bottom: 1rem;
}

.tk-menuhorizontala ul {
  display: flex;
  border-bottom: 1px solid var(--grisa1);
  width: 100%;
  justify-content: center;
  margin: 0;
  flex-wrap: wrap;
}

.tk-menuhorizontala li a {
  background-color: var(--grisa1);
  padding: 0.2rem 1.5rem !important;
  display: block;
  border-radius: 3px;
  margin-bottom: 0.5rem;
  margin-left: 1rem;
  font-size: 15px;
  color: var(--grisa6) !important;
}

@media (max-width: 750px) {
  .tk-menuhorizontala {
    border-top: 0;
    overflow: auto;
    position: relative;
    padding-bottom: 0.5em;
    white-space: nowrap;
  }

  .tk-menuhorizontala ul {
    flex-wrap: nowrap;
  }

  .tk-menuhorizontala li a {
    margin-left: 0;
    margin-right: 0.5rem;
    padding: 0.2rem 0.5rem !important;
  }
}

.tk-menuhorizontala li a:hover,
.tk-menuhorizontala li.active a {
  background-color: var(--grisa3);
  color: white !important;
}

/******eguraldia**/

@media (max-width: 750px) {
  .card,
  .tk-card {
    margin-top: 0 !important;
  }
}

.tk-meteoDay {
  text-transform: uppercase;
}

.tk-meteoDay,
.tk-meteoImg,
.tk-meteoTemp {
  display: inline-block;
  height: 100%;
  float: left;
  padding: 2rem 0;
}

.tk-meteoImg {
  padding: 0;
}

.tk-meteoTemp {
  font-size: 80%;
  padding-top: 1.5rem;
}

#eguraldia_aemet p {
  font-size: 80%;
  text-align: right;
}

/*********KOMUNITATEA***********/
.tk-communitycontent .tk-author {
  line-height: 20px;
}

@media only screen and (max-width: 500px) {
  .tk-communitycontent .tk-communityauthor a {
    display: flex;
    align-items: center;
  }

  .tk-communitycontent .tk-communityauthor img {
    max-width: 60px;
    float: left;
    margin-right: 0.5rem;
  }
}

#communityform .form-control {
  display: inline-block;
  width: auto;
}

#communityform textarea.form-control {
  width: 100%;
}

/*community 2025**/
.tk-display-signature {
  display: flex;
  align-items: center;
}

button#like-button {
  display: inline-block;
  width: 18px;
  height: 16px;
  background: transparent url(../img/i_heart.svg) no-repeat top left;
  padding: 0;
  border: none;
  margin-left: 5px;
  margin-right: 3px;
}

button#like-button.True {
  background: transparent url(../img/i_heart-on.svg) no-repeat top left;
}

#like-count {
  font-size: 14px;
}

.tk-communityauthor-band {
  position: relative;
  right: 50%;
  left: 50%;
  width: 100vw !important;
  max-width: none !important;
  margin-left: -50vw !important;
  display: inline-block;
  background-color: var(--grisa1);
}
.tk-communityauthor-band button {
  font-style: italic;
}
.tk-communityauthor-band img.rounded-circle {
  width: 154px;
}
@media (max-width: 770px) {
  .tk-communityauthor-band img.rounded-circle {
    width: 100px;
  }
}
.tk-communitycontent .tk-answers a {
  color: black !important;
}
#useroptions .dropdown-toggle::after {
  content: none;
}
#useroptions li a span.icon {
  background-color: var(--color1) !important;
  border-radius: 50%;
  display: inline-block;
  height: 25px;
  width: 25px;
  text-align: center;
  img {
    margin-top: -5px;
    max-width: 15px;
    height: auto;
  }
}
form.add-community-content {
  label {
    width: 100%;
  }
  input[type='text'],
  textarea {
    width: 100%;
  }
  input[type='text'],
  textarea,
  select {
    border: 1px solid var(--grisa2);
    border-radius: 4px;
  }
  button.btn {
    text-transform: uppercase;
  }
}

@media (min-width: 500px) {
  .tk-publilogo img {
    height: 50px;
  }
}

.tk-publilogo {
  border-bottom: 3px solid black;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

@media (min-width: 570px) {
  .tk-publilogo {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    vertical-align: center;
    align-items: center;
  }

  .tk-publilogo img {
    float: right;
  }
}

.tk-partaideak {
  margin: 2rem 0;
  position: relative;
  right: 50%;
  left: 50%;
  width: 100vw !important;
  max-width: none !important;
  margin-right: -50vw !important;
  margin-left: -50vw !important;
  padding: 2rem 0;
  @media (max-width: 768px) {
    padding: 1rem;
  }
}

/*****/
.tk-lankidetzak {
  text-align: center;
}

.tk-lankidetzak img {
  max-width: 120px;
  margin: 1rem 0.5rem;
  border: 3px solid var(--grisa2);
}

.tk-laguntza {
  background-color: var(--grisa1);
  padding: 2rem;
  font-style: italic;
}

/****SARE SOZIALAK****/

ul.tk-share {
  padding: 0;
  list-style: none;
}

ul.tk-share li {
  margin-bottom: 0.5em;
  list-style: none !important;
}

ul.tk-share-h {
  padding-left: 0;
}

ul.tk-share-h li {
  display: inline;
}

ul.tk-share-h a:hover {
  text-decoration: none;
}

ul.tk-share-h a:hover svg {
  transform: rotate(10deg);
  border-radius: 50%;
}

ul.tk-mobile-share {
  bottom: 0;
  height: 40px;
  padding: 0;
  position: fixed;
  text-align: center;
  width: 105%;
  left: 0;
  margin-bottom: 0;
}

ul.tk-mobile-share li {
  border-right: 1px solid white;
  display: inline;
  float: left;
  list-style: outside none none;
  text-align: center;
  width: 24%;
}

ul.tk-mobile-share li:last-child {
  border: none;
}

ul.tk-mobile-share li.facebooklink {
  background-color: var(--facebookcolor);
}

ul.tk-mobile-share li.twitterlink {
  background-color: var(--twittercolor);
}

ul.tk-mobile-share li.whatsapplink {
  background: var(--whatsappcolor) none repeat scroll 0 0;
}

ul.tk-mobile-share li.telegramapplink {
  background: var(--telegramcolor) none repeat scroll 0 0;
}

/**************/
.pagination {
  font-size: 80%;
  margin-top: 2rem;
}

.pagination li {
  list-style-image: none !important;
}

.pagination a {
  color: var(--grisa5) !important;
}

.page-item.active .page-link {
  background-color: var(--color1);
  border: 1px solid var(--color1);
  color: white !important;
}

/********eskela****/

.tk-eskelamota {
  text-transform: uppercase;
  font-weight: normal;
  font-size: 1rem;
}

.tk-hildakoaktxt {
  line-height: 1.2em;
  font-size: 90%;
}

.tk-eskela {
  border: 1px solid var(--grisa1);
}

.tk-paid {
  box-shadow: 0 3px 3px rgba(1, 1, 1, 0.3);
  border: none;
}

.tk-paid:hover {
  box-shadow: 0 7px 7px rgba(1, 1, 1, 0.5);
}

.tk-paid img {
  border: 2px solid var(--grisa4);
  margin-bottom: 0.5em;
}

.tk-eskela .bg-dark {
  background-color: var(--grisa4) !important;
  margin: -1rem -1rem 0 -1rem;
  padding: 0.5rem;
}

.tk-eskelak .tk-eskela {
  min-height: 200px;
}

.tk-filters li {
  padding: 0.5rem;
  border-bottom: 1px solid var(--grisa1);
}

.tk-block .fa-cross {
  float: right;
}

.tk-block .col-sm-3:last-child .tk-eskela {
  padding: 0.5rem !important;
}

.hildako_herria {
  text-transform: uppercase;
}

/**************eskeletako irudiak********/

.tk-eskela-eguzki-lorea {
  background: url(../img/eguzkilorea.gif) no-repeat bottom center;
  width: 30px;
  height: 30px;
  display: inline-block;
}

.tk-eskela-lauburua {
  background: url(../img/lauburua.gif) no-repeat bottom center;
  width: 30px;
  height: 30px;
  display: inline-block;
}

.tk-eskela-gurutzea {
  background: url(../img/gurutzea.gif) no-repeat bottom center;
  width: 30px;
  height: 30px;
  display: inline-block;
}

.tk-eskela img.tk-eskelanork {
  max-width: 150px;
}

/******login***/
.tk-login input#id_username,
.tk-login input#id_password {
  border: 1px solid var(--grisa3);
  border-radius: 3px;
  min-width: 250px;
  color: var(--grisa5);
  padding: 3px 10px;
}

.tk-login label {
  min-width: 150px;
  font-size: 18px;
}

@media only screen and (max-width: 500px) {
  .tk-postaria-harpidetza input {
    clear: both;
    display: block;
  }
}

/******irratia**/
.zuzenekoa {
  background-color: var(--grisa1);
  border-radius: 10px;
  padding: 1rem 1rem 0 1rem;
}

.zuzenekoa img {
  border-radius: 6px;
  min-height: 70px;
  margin-bottom: 1rem;
}

.zuzenekoa audio {
  border-radius: 6px;
  background-color: white;
  padding: 15px;
  min-height: 70px;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .zuzenekoa img,
  .zuzenekoa audio {
    min-height: auto !important;
  }

  .zuzenekoa {
    background-color: transparent;
  }

  .zuzenekoa audio {
    background-color: transparent;
    padding: 0;
  }
}

.audio video {
  min-height: 150px;
  background-color: #6c757d;
}

.tk-irrati-playerra {
  margin-bottom: 1rem;
}

/********** vertical video ******/
.tk-webseriea .tk-img-card-caption {
  color: white;
  border: 1px solid white;
  position: absolute;
  bottom: 45%;
  left: 50%;
  text-align: center;
  padding: 2px 1px 1px 1px;
  font-size: 28px;
  min-width: 42px;
  right: auto;
  margin-left: -21px;
}

/************* matx blokea ******/

.tk-matx {
  padding-bottom: 1rem !important;
  background-color: #5f2486;
  color: white;
}
.tk-matx a.h3 {
  color: white !important;
}
.tk-matx blockquote {
  border: none;
  background-color: white;
}

#mastodon-status iframe {
  width: 100%;
}
#mastodon-status iframe .status__content {
  font-size: 16px;
}

/*************footer*************/
address {
  line-height: 2em;
}

.tk-footer-content a {
  color: white !important;
}

.tk-footer-content a:hover {
  text-decoration: underline;
}

.tk-footer-tokikom {
  font-family: var(--font0);
}

.tk-footer-tokikom a:hover {
  text-decoration: underline;
  color: #f50e08 !important;
}

.social a:hover img {
  transform: rotate(10deg);
  border-radius: 50%;
  box-shadow: 0 5px 5px rgba(1, 1, 1, 0.3);
}

footer .tk-medioak {
  border-top: 2px solid white;
}

footer .tk-medioak .nav-link {
  padding: 0.2rem 1rem;
}

footer .tk-medioderibatuak {
  border-top: 2px solid white;
}

@media (max-width: 500px) {
  .tk-footer-tokikom {
    display: none;
  }
}

.tk-footer-babesleak {
  padding: 1rem 0;
}

.tk-footer-babesleak img {
  margin: 0 0.5rem;
}
@media (max-width: 770px) {
  .tk-footer-babesleak img {
    max-width: 35%;
    margin: 1rem;
  }
}

/************/

.tk-img-text {
  font-size: 0.8rem;
  position: absolute;
  top: -8px;
  right: 3px;
}

.tk-img-container {
  display: block;
  position: relative;
  overflow: hidden; /* hau Internet Explorer 11an ondo ikusteko jarri dugu */
}

.tk-img-card-caption {
  color: white;
  border: 1px solid white;
  position: absolute;
  bottom: 10px;
  left: 10px;
  text-align: center;
  padding: 2px 1px 1px 1px;
  font-size: 28px;
  min-width: 42px;
}

.tk-img-embed-caption {
  color: white;
  border: 1px solid white;
  text-align: center;
  padding: 4px 2px 2px 2px;
  font-size: 38px;
  min-width: 52px;
  line-height: 30px;
  margin-top: -110px;
  float: left;
  margin-left: 10px;
  position: relative;
}

.tk-card .tk-img-card-caption {
  bottom: 2px;
  left: 2px;
  padding: 1px 0 0 0;
  font-size: 16px;
  min-width: 32px;
  line-height: 29px;
}

.col-lg-4 .tk-img-card-caption {
  line-height: 32px;
}

p.card-text {
  display: block;
  line-height: 1rem;
  margin-bottom: 0.5rem !important;
}

.card-text .badge {
  padding: 0;
  text-transform: uppercase;
}

.card-title a {
  color: var(--grisa6);
}

.card {
  border-radius: 0;
  background: transparent;
  border: none !important;
}

.card-body {
  border-radius: 0 !important;
}

.card-img {
  border-radius: 0;
}

.card-img-top {
  width: 100%;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.card-img-overlay {
  position: absolute;
  top: auto;
  right: 0;
  bottom: 0 !important;
  left: 0;
  padding: 0;
}

.card-img-overlay h5 {
  padding: 0.2rem 1rem;
  margin: 0;
}

.tk-author-card {
  font-size: 0.8rem;
}

.card-body {
  padding: 0.5rem 0 0 0;
}

.card-title {
  margin-bottom: 0.5rem;
}

/****albistea**/
#commentsbase #accordion {
  margin-top: 1rem;
  border: 1px solid var(--grisa1);
  border-radius: 6px;
}

#commentsbase #accordion h3 {
  text-align: right;
  margin: 0;
}

#commentsbase #accordion h3:first-child {
  border-bottom: 1px solid var(--grisa1);
}

#commentsbase #accordion > div {
  padding: 0 1rem;
}

.btn-link {
  color: var(--color1);
}

.btn-link:hover {
  color: var(--grisa5);
}

.tk-card-content {
  position: relative;
}

.tk-rank1 .card-text {
  font-size: 130%;
}

.tk-rank1 .card-img-overlay .card-title {
  padding: 1.5rem;
  background-color: rgba(1, 1, 1, 0.7);
  margin: 0;
}

.tk-rank1 .tk-img-card-caption {
  right: 1rem !important;
  left: auto !important;
}

.tk-rank1 .card-img-overlay .card-title a {
  color: white !important;
}

.card-img-overlay .card-title {
  background-color: rgba(1, 1, 1, 0.8);
}

.tk-rank1 .tk-img-card-caption .oi {
  font-size: 1.5rem;
  margin-top: -14rem;
}

@media (max-width: 770px) {
  .tk-rank1 .tk-img-card-caption .oi {
    margin-top: 0 !important;
  }

  .tk-rank1 .tk-img-card-caption {
    right: 1rem !important;
    left: auto !important;
    top: 2rem !important;
    bottom: auto !important;
  }
}

.tk-channel {
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  font-family: var(--font0);
  font-size: 0.8rem;
}

.tk-channel a {
  color: white !important;
  padding: 3px 8px 3px 8px;
  display: inline-block;
  background-color: var(--color1);
  height: 23px;
}

.tk-channel a:hover {
  background-color: var(--grisa3);
  text-decoration: none;
}

@media (max-width: 500px) {
  .tk-rank1 .card-img-overlay .card-title {
    padding: 0;
    background-color: transparent;
    margin: inherit;
  }

  .tk-rank1 .card-img-overlay .card-title a {
    color: black;
  }

  .tk-rank1 .card-img-overlay {
    position: relative;
  }

  .tk-rank1 .card-img-overlay .card-title a {
    color: var(--titlecolor) !important;
  }

  .card {
    border-bottom: 2px solid var(--grisa1) !important;
    padding-bottom: 1rem;
  }
}

/*tk-block-first************/

.card-title p {
  line-height: 1rem;
}

.tk-block-last .card-title h5 {
  font-size: 1.1em;
  margin-bottom: 0.25rem;
}

.tk-block-last .card-title p .tk-author-card {
  font-size: 70%;
}

.tk-block-first .card-body {
  padding: 1rem 0 0.5rem;
}

.tk-block-first .card-title {
  margin-bottom: 1rem;
}

.tk-block-first .card {
  border-top: 0 !important;
  padding-top: 0;
  position: relative;
}

/****lehiaketa*/
.tk-lehiaketabox {
  margin: 1em 0;
  padding: 1rem;
}

.tk-lehiaketabox .alert {
  border: 4px solid var(--color1);
  color: var(--grisa5);
  background-color: white;
  font-size: 20px;
  text-align: center;
}

.tk-lehiaketabox .alert.alert-info {
  border: none;
}

.tk-colorhr {
  border-top: 2px solid var(--color1);
}

.tk-lehiaketabox .form-group {
  margin-bottom: 0.5rem;
}

.tk-lehiaketabox label {
  margin-bottom: 0;
}

.tk-lehiaketabox #id_irudia {
  font-size: 80%;
}

@media (min-width: '750px') {
  .tk-lehiaketabox .form-group {
    width: 31%;
    float: left;
    margin-right: 2%;
  }
}

.tk-lehiaketabox .checkbox {
  font-size: 12px;
}

.tk-contest {
  margin-bottom: 1rem;
}

.tk-contest-img {
  position: relative;
}

.tk-contest-img .btn {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
}

.tk-contest-img label .btn.btn-success {
  background-color: var(--color1);
  color: white !important;
  border-color: var(--color1);
}

/****BOLETINA*/
#albisteakepostaz {
  background-color: var(--color1);
  padding: 2rem;
  margin-bottom: 2rem;
}

/*****Media elementua*****/

.media-body a {
  color: var(--grisa6);
  display: block;
}

.media p {
  margin-bottom: 0;
  font-size: 0.8rem;
}

.col-md-6 .media p {
  font-size: 1rem;
}

.media {
  border-top: 1px solid var(--grisa1);
  padding: 0.5rem 0;
}

.tk-light .media {
  border-top: 1px solid white;
}

.card-body p {
  margin-bottom: 0;
}

.col-md-6 .card .card-body {
  padding-bottom: 1rem;
}

.tk-card {
  position: relative;
}

.tk-card .col-7.card-title {
  padding-right: 0;
  margin-left: -15px;
}

.publitop > div,
.publibottom > div {
  margin: 0 auto !important;
  text-align: center;
}

@media (max-width: 750px) {
  /*.tk-publi {
    padding: 2rem 0 !important;
  }*/
  .tk-block-first .col-md-5 .card:last-child {
    border-top: 1px solid var(--grisa5) !important;
    padding-top: 2em;
  }

  .tk-block-first .card h5 {
    font-size: 1.5rem;
  }

  .card,
  .tk-card {
    margin-top: 1rem;
  }

  .publitop > div,
  .publibottom > div {
    margin: 0 auto !important;
  }
}

/**babestutsako edukia***/

.card-header {
  background: rgba(1, 1, 1, 0.5);
  color: white;
  text-transform: uppercase;
  padding: 0.05rem 0.8rem;
  font-size: 0.9rem;
  font-weight: bold;
  border-bottom: 1px solid black;
  border-right: 1px solid black;
  left: 0;
  float: left;
  position: absolute;
}

.card-header:first-child {
  border-radius: 0;
}

/*****bigarren mialako titular bat***/
.tk-title2 {
  background-color: var(--color1);
  border: none;
}

.tk-channel.tk-title2 {
  padding: 0.2rem 0.8rem;
  border: none;
}

/*agenda lerroa***/

.tk-agenda-container img {
  width: 100%;
}

.tk-agenda-container .tk-datePublished {
  font-size: 1.2rem;
  white-space: normal;
  display: block;
  margin-bottom: 1rem;
  position: relative;
}

.tk-agenda-container .tk-datePublished:before {
  position: absolute;
  content: '';
  border-bottom: 1px solid white;
  width: 50%;
  bottom: -10px;
  left: 0;
}

.signature {
  font-weight: 600;
}

/*********komunitatea*/
.usercontent .card-text img {
  border-radius: 50% !important;
  max-width: 40px;
  display: inline-block;
}

.usersidebar {
  text-align: center;
}

.usersidebar img {
  border-radius: 50%;
  padding: 5px;
  border: 1px solid var(--grisa1);
  margin-bottom: 10px;
}

/****prentsa***/
.tk-aleak {
  background-color: var(--grisa1);
  padding: 1rem 2rem;
}

.tk-aleak ul li {
  border-bottom: 1px solid white;
  padding: 0.4rem 1rem;
}

.tk-aleak ul li::before {
  content: '>>';
  color: var(--grisa2);
  margin-right: 1rem;
  font-size: 12px;
}

.tk-aleak ul li > ul li {
  list-style: none !important;
  padding: 0.2rem;
  border: none;
}

/********bilaketa emaitzak************/
#adv-search {
  background-color: var(--grisa1);
  padding: 1em;
  border-bottom: 2px solid var(--grisa1);
}

#bilaketa_form #bilaketa_aurreratua_button {
  height: 40px;
  border-radius: 0;
}

#bilaketa_form #bilaketa_aurreratua_button:focus,
.btn:focus {
  box-shadow: none !important;
}

#bilaketa_form .dropdown-toggle::after {
  margin-right: 5px;
}

.ui-autocomplete {
  margin-left: 0;
}

.ui-autocomplete li {
  list-style: none;
  border-bottom: 1px solid var(--grisa1);
  padding: 0.5rem 0 0.5rem 0.5rem;
}

.ui-autocomplete li:hover {
  cursor: pointer;
  background-color: var(--grisa1);
}

.ui-menu {
  background-color: white;
  z-index: 2;
  border: 1px solid #efefef;
  max-width: 600px !important;
  padding: 1rem 2rem;
}

#bilaketa_aurreratua {
  padding: 1em !important;
  margin-top: 10px;
  clear: both;
  width: 100%;
  display: block;
  min-width: 300px;
}

#bilaketa_aurreratua select {
  font-size: 14px;
  color: var(--grisa5);
  border: 1px solid var(--grisa3);
  padding: 3px 5px;
  margin: 0 3px;
  border-radius: 2px;
}

.tk-emaitza {
  border-bottom: 1px dotted var(--grisa2);
  margin-bottom: 2em;
  clear: both;
  padding-bottom: 1em;
  display: inline-block;
  width: 100%;
}

.tk-emaitza h2 {
  margin-bottom: 0;
}

.tk-emaitza .signature {
  margin-bottom: 0.5rem;
  color: var(--grisa4);
}

.tk-gidakoemaitza .tk-emaitza {
  /*bilaketa orokorretik*/
  border: none;
  padding-bottom: 0;
}

.tk-gidakoemaitza {
  border-bottom: 2px solid var(--grisa1);
  margin-bottom: 1rem;
}

.tk-gidaresult li {
  /*gidako bilaketan*/
  background-color: var(--grisa1);
  margin-bottom: 1rem;
  padding: 1rem;
}

.tk-gidaresult li a {
  display: block;
  width: 100%;
}

.tk-gidaresult br {
  display: none;
}

li.tk-gidanegozioa {
  display: inline-block;
  width: 100%;
  padding: 0.5rem;
  border-bottom: 5px solid white;
}

li.tk-gidanegozioa img {
  max-width: 100px;
}

/***/
.tk-rss h2 {
  font-size: 20px;
  margin-bottom: 1rem;
}

.tk-rss .fa-brands,
.tk-rss .fa-regular {
  color: var(--grisa4);
  font-size: 24px;
  margin: 0 1rem 0 0;
}

/*******telebista******/
.tk-programa {
  border: 1px solid var(--grisa1);
  display: inline-block;
  padding: 3px 5px;
  border-radius: 3px;
  font-family: var(--font0);
  font-size: 12px;
}

.tk-light .tk-programa {
  border: 1px solid var(--grisa2);
}

.tk-programa:hover {
  background-color: var(--grisa1);
  color: black !important;
}

.tk-programa-titularra {
  font-family: var(--fonttitle);
  font-size: 1.4rem;
  font-weight: 600;
}

.egunekoprogramazioa.nav-tabs {
  border-bottom: 1px solid var(--grisa2);
  list-style: none;
}

.egunekoprogramazioa li {
  list-style: none;
}

.egunekoprogramazioa li a {
  font-weight: 700;
}

.egunekoprogramazioa.nav-tabs > .active > a,
.egunekoprogramazioa.nav-tabs > .active > a:hover {
  border-color: var(--grisa2) var(--grisa2) transparent;
}

.egunekoprogramazioa.nav-tabs > .active > a,
.egunekoprogramazioa.nav-tabs > .active > a:hover {
  cursor: default;
  background-color: #fff;
  border: 1px solid var(--grisa1);
}

.egunekoprogramazioa.nav-tabs > li > a {
  padding-top: 8px;
  padding-bottom: 8px;
  line-height: 20px;
}

.egunekoprogramazioa.nav-tabs > li > a {
  padding-right: 12px;
  padding-left: 12px;
  margin-right: 2px;
  line-height: 14px;
}

.egunekoprogramazioa.nav > li > a {
  display: block;
}

.nav-tabs.tk-egunekoprogramazioa {
  width: 100%;
  margin: 0 0 1em;
  border-bottom: 1px solid var(--grisa1);
}

.tk-egunekoprogramazioa.nav li {
  list-style-image: none !important;
  list-style: none;
}

.tk-egunekoprogramazioa.nav-tabs > .active > a,
.tk-egunekoprogramazioa.nav-tabs > .active > a:hover {
  border-color: var(--grisa2) var(--grisa2) transparent;
}

.tk-egunekoprogramazioa.nav-tabs > .active > a,
.tk-egunekoprogramazioa.nav-tabs > .active > a:hover {
  color: #555;
  cursor: default;
  background-color: #fff;
  border: 1px solid var(--grisa1);
  border-bottom-color: transparent;
}

.tk-egunekoprogramazioa li a {
  font-weight: 700;
  color: var(--grisa4) !important;
  padding-top: 8px;
  padding-bottom: 8px;
  line-height: 20px;
}

.programazioa .ordua,
.telebistako_saioa .ordua {
  background: var(--grisa1);
  padding: 3px 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  font-weight: 700;
  text-shadow: 1px 1px 1px #fff;
}

.tk-saioatext {
  padding: 0 1rem 2rem 1rem;
  font-size: 1.3rem;
  text-align: center;
}

.programazioa li {
  margin-bottom: 1rem;
  list-style: square;
}

/*********************z-index***/
.w-300 {
  min-width: 300px;
}

.tk-publi {
  z-index: auto;
}

.tk-socialbuttons {
  z-index: auto;
}

ul.tk-mobile-share {
  z-index: 9;
}

.tk-img-card-caption {
  z-index: 9;
}

.card-header {
  z-index: 9;
}

.tk-img-embed-caption {
  z-index: 9;
}

.col-sm-2 .tk-img-card-caption {
  font-size: 18px;
  min-width: 30px;
  line-height: 20px;
}

.col-sm-2 h5.car-title {
  line-height: 0.9em !important;
}

/***************************************ALDAGAIAK*****************/

a {
  color: var(--color1) !important;
}

.navbar-light .navbar-toggler {
  background-color: var(--navbar-toggler-color) !important;
}

.tk-subheader > div {
  background-color: var(--subheadercolor);
  color: var(--subheadertextcolor);
  font-size: var(--subheadertextsize);
  font-family: var(--subheadertextfont);
  font-weight: var(--subheadertextweight);
  letter-spacing: var(--subheadertextespacing);
}

#subheader-effect {
  color: var(--color1);
  font-size: var(--subheadertextsize);
  font-family: var(--subheadertextfont);
  font-weight: bold;
  letter-spacing: var(--subheadertextespacing);
  padding-top: 0;
  display: inline-block;
  margin-left: 10px;
}

.tk-subheader a {
  color: var(--subheadertextcolor) !important;
}

.btn-info,
.btn-primary,
a.btn-info,
a.btn-primary {
  color: #fff !important;
  background-color: var(--color1);
  border-color: var(--color1);
}

.btn-info:hover,
.btn-primary:hover,
a.btn-info:hover,
a.btn-primary:hover {
  background-color: color-mix(in srgb, var(--color1), black 30%);
  border-color: color-mix(in srgb, var(--color1), black 30%);
  color: #fff !important;
}

.btn-primary.disabled,
.btn-primary:disabled {
  color: #fff !important;
  background-color: var(--color1);
  border-color: var(--color1);
  opacity: 0.6;
}
.btn-secondary {
  color: white !important;
}
.btn-default,
a.btn-default {
  background-color: var(--grisa2);
  color: var(--grisa5) !important;
}

.btn-default:hover,
a.btn-default:hover {
  background-color: var(--grisa3);
  color: white !important;
}

.btn-phone,
.btn-whatsap {
  color: black !important;
  border: 1px solid black;
  margin: 1rem;
  padding: 0.6rem 1rem;
  font-weight: 500;
}

.tk-footer-content {
  background-color: var(--footercolor);
  color: var(--footertextcolor);
}

.tk-footer-content h1,
.tk-footer-content h2,
.tk-footer-content h3,
.tk-footer-content h4,
.tk-footer-content h5 {
  color: var(--footertextcolor);
}

.tk-content footer ul li {
  list-style-image: none;
}

/**ikonoaK**/
.tk-img-card-caption {
  border-color: transparent;
  opacity: 0.9;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tk-img-card-caption .oi {
  font-size: 1.5rem;
  margin-top: -2px;
  padding: 5px;
  border: 1px solid var(--color1);
  background: var(--color1);
}

.tk-card .tk-img-card-caption {
  background: var(--color1);
  border-color: var(--color1);
}

.tk-img-embed-caption {
  background: var(--color1);
  border-color: var(--color1);
  opacity: 0.9;
  padding: 1rem;
  border-radius: 3px;
  margin-top: -135px;
}

/****/
.tk-prentsa-bazkidetza {
  text-align: center;
  display: block;
}

.tk-prentsa-bazkidetza img {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  opacity: 0.5;
}

/****flatpage*/
.tk-menuaeskuin ul li a {
  background-color: var(--grisa1);
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  margin-bottom: 5px;
  display: block;
  font-weight: 600;
}

@media only screen and (min-width: 775px) {
  .tk-menuaeskuin ul {
    margin-left: 2rem;
  }
}

/*
.tk-menuaeskuin ul li a::before{
  content:">";
  margin-right:1rem;
}*/
.tk-menuaeskuin ul li a:hover {
  text-decoration: none;
  color: black !important;
  background-color: var(--grisa2) !important;
}

/***telefonogida***/
.tk-telefonogida .form-inline {
  padding: 0.5rem 1rem 0 1rem;
  background-color: var(--grisa1);
  margin-bottom: 1rem;
}

.tk-telefonogida .form-group,
.tk-telefonogida label {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.tk-telefonogida label {
  min-width: 80px;
}

.tk-telefonogida-widget {
  border: 4px solid var(--grisa1);
  padding: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: '500px') {
  .tk-telefonogida .form-group {
    clear: both;
    width: 100%;
  }

  .tk-telefonogida .form-group.ml-3 {
    margin-left: 0 !important;
  }
}

/*****inkestak*****/
.tk-inkesta {
  border: 2px solid var(--grisa1);
  border-bottom: 1px solid var(--grisa1);
  padding: 2rem;
  margin: 1rem 0;
}

.tk-inkesta .fieldWrapper {
  margin-bottom: 1rem;
}

/*****/
.tk-babesleak {
  background-color: var(--grisa2);
  padding: 0.2rem 1rem;
  text-align: center;
  position: relative;
}

.tk-babesleak-inner {
  text-align: center;
  margin-bottom: 1rem;
}

.tk-babesleak-right {
  text-align: center;
  position: relative;
  margin-bottom: 1rem;
}

/**elkarrizketak***/
.tk-erantzungabe {
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--grisa1);
  border-top: 1px solid var(--grisa1);
}

#erantzunaeman textarea {
  width: 100%;
}

.tk-galdera {
  font-size: 24px;
}

/***hauteskundeak**/

#tk-hauteskundeak-menua {
  position: absolute;
  background-color: rgba(255, 255, 255, 1);
  border: 1px solid var(--grisa2);
  margin-top: -1rem;
  border-radius: 6px;
  z-index: 999;
}

#tk-hauteskundeak-menua a:hover {
  background-color: var(--grisa1);
}

.chocolat-wrapper {
  z-index: 99999 !important;
  background-color: black !important;
}

/****popup***/
.welcome-popup {
  position: fixed;
  left: 50%;
  top: 25%;
  width: 100%;
  max-width: 700px;
  background-color: rgba(1, 1, 1, 0.9);
  color: white;
  z-index: 99999;
  box-shadow: 0 5px 5px rgba(1, 1, 1, 0.5);
  margin-left: -350px;
}

@media (max-width: 770px) {
  .welcome-popup {
    left: 2%;
    margin-left: 0;
    width: 96%;
    top: 1%;
  }
}

.welcome-popup img {
  margin-top: -1px;
}

.welcome-popup .fa {
  margin-right: 15px;
  margin-top: 0px;
  width: 30px;
  height: 30px;
  float: right !important;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(1, 1, 1, 0.5);
  border-radius: 3px;
}

.welcome-popup .fa {
  color: white !important;
}

/************anchorren arazoa fixedarekin****************

.tk-anchor{
  padding:80px;
  position:relative;
}
.tk-linktoanchor{
  margin-top:-80px;
  display:block;
  position:absolute;

}*/
/***cookiak*/
.cc-window.cc-banner .cc-btn {
  background-color: var(--color1);
  color: white !important;
}

.cc-window.cc-banner .cc-btn:hover {
  background-color: var(--grisa5);
}

/**erabiltzaile profila**/
.photoprofilecontainer {
  max-width: 300px;
}

.photoprofilecontainer a {
  color: white !important;
  text-shadow: 0 3px 3px rgba(1, 1, 1, 0.2);
  background-color: black;
  border-radius: 50%;
  border: 5px solid #ccc;
  display: block;
}

.img-circle {
  border-radius: 50%;
}

.profilephoto-msg {
  text-align: center;
}

.profilephoto-msg {
  position: absolute;
  top: 100px;
  left: 10%;
  width: 80%;
}

.photoprofilecontainer .glyphicon {
  background: url(../img/imageicon.png) no-repeat top center;
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 auto;
}

.photoprofilecontainer img:hover {
  opacity: 0.7;
}

.photoprofilecontainer a {
  color: white !important;
  text-shadow: 0 3px 3px rgba(1, 1, 1, 0.2);
}

.photoprofilecontainer a:hover {
  color: black !important;
}

.tk-profileform .bg-warning {
  background-color: white !important;
  border-bottom: 2px solid var(--color1);
}

.tk-profileform ul {
  padding-left: 1rem;
  margin-left: 2rem;
  border-left: 2px solid var(--color1);
}

.tk-profileform ul li {
  margin-bottom: 0.3rem;
}

/****bazkidetza***/
.form-group.has-error {
  border: 1px solid #c00;
  padding: 1rem;
}

.help-block {
  color: #c00;
  font-style: italic;
}

/************ HEMEROTEKA ************************/

.accordion h3 {
  border-top: 2px solid var(--grisa1);
  padding-top: 0.3rem;
}

.accordion form {
  margin-left: 0.5rem;
}

.accordion h3 {
  font-size: 1.4rem;
}

.accordion h3 i {
  font-size: 20px;
  margin-left: 1rem;
}

.accordion h3[aria-expanded='false'] i {
  transform: rotate(-90deg);
}

#loader {
  font-size: 10rem;
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(1, 1, 1, 0.7);
  z-index: 99;
  padding-top: 10rem;
}

.fa-spinner::before {
  color: rgba(255, 255, 255, 0.7);
}

.paginationjs a {
  pointer-events: none;
  cursor: auto;
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: var(--grisa5) !important;
  background-color: #fff;
  border: 1px solid var(--grisa2);
}

.paginationjs .active .page-link {
  background-color: var(--color1);
  border: 1px solid var(--color1);
  color: white !important;
}

/************* gehitutakoa *****************/

.paginationjs {
  margin: 1rem 0 !important;
}

.paginationjs .paginationjs-pages li {
  border: none !important;
}

.paginationjs .paginationjs-pages li:last-child {
  border: none !important;
}

.paginationjs .paginationjs-pages li > a {
  height: auto !important;
}

.paginationjs a {
  padding: 0.2rem 0.75rem !important;
}

.paginationjs .paginationjs-pages li.active > a {
  height: auto !important;
  line-height: 28px !important;
  background-color: var(--color1) !important;
  border: 1px solid var(--color1) !important;
  color: white !important;
}

.paginationjs .paginationjs-pages li.disabled > a {
  opacity: 1 !important;
}

.paginationjs .paginationjs-pages li > a {
  height: 35px !important;
}

.paginationjs .paginationjs-pages li.active > a {
  height: 35px !important;
}

#collapseDatak ul ul {
  margin-left: 1rem;
}

#collapseDatak ul ul input {
  margin-right: 5px;
}

/*********** HEMEROTEKA *****************************/

#tk-hemeroteka-mobile-menu #filtroBTN {
  font-size: 1rem;
  border: 1px solid var(--grisa2);
  border-radius: 3px;
  text-align: right;
  padding-right: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  padding-top: 0;
}

#tk-hemeroteka-mobile-menu #filtroBTN i {
  padding-left: 0.3rem;
}

#tk-hemeroteka-mobile-menu hr {
  border-color: white;
}

.tk-btn {
  background-color: white;
  border: 1px solid var(--grisa2);
  border-radius: 3px;
  margin-bottom: 0.3rem;
}

.tk-btn.active {
  background-color: var(--grisa2);
}
.tk-btn:has(input:checked) {
  background-color: var(
    --color1
  ); /* Zure webguneko kolore nagusia jarri hemen */
  color: white;
  border-color: var(--color1);
  /* Gehitu behar dituzun bestelako estiloak */
}

.accordion h3[aria-expanded='false'] i {
  padding-right: 10px !important;
}

#data-container {
  min-height: 520px;
}

@media (max-width: 990px) {
  #loader {
    width: 92%;
  }
}

#tk-hemeroteka-mobile-menu #filtroBTN {
  padding-top: 5px;
  padding-bottom: 5px;
  font-weight: 700;
}

/*********** albiste gehiago lotura ********************/

a.tk-more {
  text-transform: uppercase;
  font-family: var(--font0);
  color: var(--color1) !important;
  border-top: 2px solid var(--color1);
  display: flex;
  justify-content: flex-end;
  padding-top: 0.25rem;
}

/******************FARMAZIAK *****************************/

.tk-farmaziak h3 {
  border-bottom: 2px solid var(--grisa1);
  margin-bottom: 1rem;
}

.tk-farmaziak ul {
  margin-bottom: 2rem;
}

.tk-farmaziak ul li {
  margin-bottom: 0.8rem;
}

.tk-box {
  border: 4px solid var(--grisa1);
  padding: 1rem 1rem 0 1rem;
  margin-bottom: 2rem;
}

.tk-box h2 {
  line-height: 2rem;
  font-size: 2rem;
  color: var(--grisa5);
  margin-bottom: 1rem;
}

/******tribiala*/
.tk-cardlehiaketa {
  background-color: #e5e5e5;
  padding: 1rem;
  text-align: center;
}

.tk-galdera h1 {
  display: block;
  width: 100%;
  text-align: center;
}

.tk-galdera form {
  margin: 0 auto;
  background-color: #efefef;
  padding: 1rem;
  min-width: 50%;
  font-size: 18px;
}

/******farmaziak eta efemerideak portadan**/
.tk-bandfarmaziak {
  background: url(../img/i_farmazia.png) no-repeat center right;
}

.tk-bandefemerideak {
  /*background: url(../im/gakotxak.png) no-repeat center left; */
}

.tk-bandefemerideak .text-center {
  font-family: var(--fontSerif);
  font-size: 1.2rem;
}

.tk-efemeridedate {
  font-size: 38px;
}

/***********************gida komertziala sass***/
.tk-headergida > div {
  background-color: var(--grisa5) !important;
}

.tk-headergida #header-title {
  padding-top: 1rem !important;
}

body.gidahome .tk-headergida #header-title {
  padding: 2rem;
}

.header-image-gida {
  display: block;
  width: 100%;
  height: 200px;
  text-align: center;
  background: url('headerback.png') center center;
  background-color: rgba(0, 0, 0, 0);
  background-size: auto;
}

.tk-gidaaukerak::after {
  content: '';
  background-color: var(--grisa2);
  height: 1px;
  margin: 0.5rem auto;
  max-width: 450px;

  display: block;
}

.tk-gidaaukerak a {
  margin: 0 1rem;
  color: var(--grisa4) !important;
  text-transform: uppercase;
  font-family: var(--fonttitle) !important;
}

.tk-gidaaukerak a:hover,
.tk-gidaaukerak a.active {
  color: black !important;
  text-decoration: none;
  border-bottom: 3px solid black;
}

.tk-fitxashop {
  border: 2px solid var(--grisa1);
  background-color: var(--grisa1);
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
}

.tk-fitxashop p {
  border-bottom: 1px dotted white;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.tk-gidaherriak a {
  display: inline-block;
  padding: 0 1rem;
  border: 1px solid var(--grisa4);
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.tk-shop-brand {
  margin: 1rem 0;
}

.tk-shop-brand img {
  border: 1px solid #ccc;
  padding: 3px;
}

.tk-shop-schedules {
  background-color: var(--grisa1);
  padding: 1rem;
  margin: 1rem auto;
  position: relative;
  max-width: 400px;
}

.tk-shop-schedules .advice {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.tk-shop-schedules h3,
.tk-shop-form h3,
.tk-product-moreabout h3 {
  font-size: 1.6rem;
  font-weight: 300;
  padding: 1rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--grisa2);
}

.tk-shop h3 {
  font-size: 1.4rem;
}

.tk-shop h3.text-center::before {
  content: '';
  background-color: var(--grisa1);
  display: block;
  height: 1px;
  width: 300px;
  margin: 1rem auto;
}

.tk-shop-form h3 {
  padding: 0 0 0.5rem 0;
  margin-bottom: 1rem;
}

.tk-shop-tabs h3 {
  border: none;
  margin-bottom: 0;
  font-size: 1.6rem;
  font-weight: 300;
  padding: 1rem 0;
}

.tab-content .tk-products {
  overflow-x: scroll;
  flex-wrap: nowrap;
}

.tk-shop-schedules dl {
  font-size: 90%;
  color: var(--grisa4);
}

.tk-shop-schedules dt {
  display: inline-block;
  width: 30%;
  clear: both;
}

.tk-shop-schedules dd {
  display: inline-block;
  width: 68%;
  text-align: right;
}

.tk-shop-tabs a {
  color: black !important;
}

.tk-shop-form {
  border: 4px solid var(--grisa1);
}

.tk-shop .tk-desc {
  font-size: 1.2rem;
}

.tk-shop-form input {
  width: 100%;
}

.tk-shop-form label {
  display: inline;
}

.tk-shop-form input[type='text'],
.tk-shop-form textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--grisa1);
  color: var(--grisa4);
  border-radius: 3px;
  font-weight: 300;
  font-size: 1rem;
}

.tk-shop-share {
  text-align: right;
}

.tk-shop-share li {
  display: inline;
  margin-left: 0.3rem;
}

.tk-shop-share li a:hover {
  text-decoration: none;
  opacity: 0.5;
}

.tk-gidacard {
  text-align: center;
  margin-bottom: 1rem;
  height: 98%;
  position: relative;
}

.tk-gidafeatured {
  position: absolute;
  background-color: var(--color1);
  color: white;
  left: 0;
  top: 0;
  font-family: var(--font0);
  padding: 0 5px;
  text-transform: uppercase;
}

.tk-light .tk-gidacard {
  background-color: white;
}

.tk-gidacard h5 {
  font-weight: 400;
  font-size: 1rem;
}

.tk-gidacard {
  background-color: var(--grisa1) !important;
}

.tk-gidacard a {
  color: black !important;
}

.tk-gidacard a:hover {
  text-decoration: none;
  color: black !important;
}

.tk-comerce,
.tk-comercetype,
.tk-prize {
  font-family: var(--font0);
}

.tk-comercetype {
  line-height: 0.8rem;
  padding: 0.3rem 0;
}

.tk-whichshop {
  text-transform: uppercase;
}

.tk-product-description {
  font-size: 1.1rem;
  position: relative;
}

.tk-gida-filter {
  background-color: rgba(1, 1, 1, 0.3) !important;
  border-radius: 2rem;
  padding: 1.5rem;
  text-align: center;
}

.tk-gida-filter .form-group {
  display: inline-block;
}

.tk-gida-filter .form-group label {
  display: inline;
}

.tk-gida-filter input,
.tk-gida-filter select {
  font-size: 0.9rem;
}

.tk-gida-filter select {
  color: black;
}

@media (min-width: 990px) {
  .tk-gida-filter select {
    max-width: 185px;
  }
}

.tk-gida-filter .form-group {
  margin: 0;
}

.tk-gida-filter .form-control {
  width: auto;
  display: inline-block;
}

.tk-gida-filter label {
  text-transform: uppercase;
}

@media (max-width: 992px) {
  .tk-headergida #header-title {
    padding: 1rem !important;
  }

  .tk-gida-filter .form-group,
  .tk-gida-filter .form-control {
    width: 100%;
    display: block !important;
    margin-bottom: 0.5rem !important;
  }

  .tk-gida-filter input.btn {
    width: 100%;
    display: block;
  }

  .tk-gidaaukerak li {
    display: inline-block;
    width: 30%;
  }

  .tk-gidaaukerak a {
    margin: 0;
  }

  .tk-gidaaukerak li .btn {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    padding: 0.5rem;
    text-transform: uppercase;
  }

  .tk-gida-filter input,
  .tk-gida-filter select {
    font-size: 1rem;
  }

  .tk-gida-filter #garbitu.btn {
    display: block;
    margin-top: 0.5rem;
  }
}

#garbitu.btn {
  background-color: white;
}

#garbitu.btn:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.tk-prize {
  font-weight: bold;
}

.tk-offert {
  position: absolute;
  bottom: -0.5rem;
  right: -0.7rem;
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1rem;
  color: white;
  white-space: nowrap;
  display: flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--grisa6);
  justify-content: center;
  align-items: center;
}

.tk-shop .tk-offert {
  position: relative;
  margin-right: 1rem;
  right: 0;
  float: left;
}

.tk-comerce {
  text-transform: uppercase;
}

.tk-eskaintzatitle {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.tk-comercecard {
  position: relative;
  padding: 0 !important;
  margin-bottom: 2rem;
  border: none !important;
}

.tk-comercecard .card-body {
  padding-top: 0.3rem;
}

.tk-comercecard h4 {
  font-size: 1.2rem;
  margin-bottom: 0;
}

.tk-comercecard p {
  color: var(--grisa4);
}

.tk-comercecard .advice {
  position: absolute;
  bottom: 3.5rem;
  right: 0.5rem;
  z-index: 999;
}

.tk-comercecard img.negozioa-image {
  object-fit: cover;
  object-position: center;
  width: auto;
  min-width: 100%;
  max-height: 100%;
  min-height: 250px;
}

@media (max-width: 700px) {
  .th-gida-search {
    text-align: left;
  }

  .th-gida-search input,
  .th-gida-search select {
    margin-bottom: 0.5rem;
  }
}

.tk-cardcategory {
  border-radius: 6px;
  padding: 2rem;
  min-height: 150px;
}

.tk-cardcategory i {
  margin-bottom: 1rem;
}

.d-flex.tk-gidacategory {
  justify-content: center;
}

.tk-cardcategory h5 {
  font-size: 1rem;
}

ul.tk-gidacategory h5 {
  background-color: var(--grisa1);
  text-transform: uppercase;
  padding: 0 0.5rem;
  font-weight: 300;
  border-radius: 3px;
}

ul.tk-gidacategory h5:hover {
  background-color: #cdd0d3 !important;
  /*var(--grisa1);*/
}

/*
.euskarazbai{
  position:absolute;
  top:-0.5rem;
  right:2rem;
}*/
p.tk-comercefeatured {
  background-color: var(--color1) !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  font-family: var(--font0);
  text-transform: uppercase;
  text-shadow: none !important;
}

@media (min-width: 990px) {
  .tk-products {
    display: flex;
  }

  .tk-products .col-sm-3 {
    flex-basis: 20%;
    max-width: 20%;
  }
}

.tk-gustukoak .tk-products {
  justify-content: center;
}

.tk-marratua {
  text-decoration: line-through;
  font-weight: normal !important;
  margin-right: 0.5rem;
}

.tk-shop .tk-galeria .slick-track {
  max-height: 500px !important;
  overflow: hidden;
}

.tk-negozioa-social i.fa-3x {
  font-size: 2.5rem;
  margin-right: 1rem;
}

.tk-shop .slick-dots {
  bottom: 1rem;
}

.tk-shop .slick-dots li button::before {
  font-size: 12px !important;
  opacity: 1;
  color: white;
}

.tk-shop .slick-dots li.slick-active button::before {
  opacity: 1;
  color: var(--color1);
}

.tk-shop .slick-dotted.slick-slider {
  margin-bottom: 0;
}

/******abantailak****/
.tk-abantailabazkide {
  border: 4px solid var(--grisa2);
  padding: 2rem;
  font-size: 1.1rem;
}

.tk-abantailacard a {
  background-color: var(--grisa1);
  color: black !important;
  padding: 0.5rem;
}

.tk-abantailacard a:hover {
  text-decoration: none !important;
  background-color: var(--grisa2);
}

.tk-abantailacard .card-body {
  padding: 1rem;
}

.tk-abantailacard h5 {
  min-height: 50px;
  font-weight: 400;
}

/****negozioa kudeatzeko****/
.tk-negozioa-kudeatu,
.tk-produktua-kudeatu {
  background-color: var(--grisa1);
  padding: 2rem;
  border-radius: 3px;
  max-width: 900px;
  margin: 1rem auto 2rem auto;
}

.tk-negozioa-kudeatu label,
.tk-produktua-kudeatu label {
  font-weight: bold;
  margin-bottom: 0;
}

@media (min-width: 990px) {
  .tk-negozioa-kudeatu .form-control,
  .tk-produktua-kudeatu .form-control {
    width: auto !important;
    min-width: 400px;
  }
}

@media (max-width: 450px) {
  .tk-negozioa-kudeatu .form-control,
  .tk-produktua-kudeatu .form-control {
    width: 100% !important;
  }
}

.help-block {
  color: #333;
  font-size: 0.9rem;
}

.tk-negozioa-kudeatu #tinymce body,
.tk-produktua-kudeatu #tinymce body {
  font-size: 16px !important;
}

.tk-negozioa-kudeatu textarea,
.tk-negozioa-kudeatu #mce_editor_0_parent,
.tk-negozioa-kudeatu #mce_editor_0_parent table,
.tk-produktua-kudeatu textarea,
.tk-produktua-kudeatu #mce_editor_0_parent,
.tk-produktua-kudeatu #mce_editor_0_parent table {
  width: 100% !important;
}

.tk-produktua-kudeatu .form-control#id_mota {
  min-width: 1rem;
}

.tk-produktua-kudeatu .form-control#id_title {
  width: 100% !important;
}

.tk-produktua-kudeatu .form-control#id_price,
.tk-produktua-kudeatu .form-control#id_discount {
  min-width: 1rem;
  max-width: 5rem;
}

/***banda bereziak*/
.tk-imgbw .card img {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}

.tk-telebista .card img {
  border: 10px solid black;
}

.tk-telebista.tk-dark .card img {
  border: 10px solid var(--grisa6);
}

.tk-titlecenter .col-12 {
  text-align: center;
}

.tk-titlecenter .col-12 span.oi {
  display: none;
}

/*** herriak ***/

ul.tk-herriakul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
}

ul.tk-herriakul li {
  list-style-image: none !important;
  padding: 0.5rem 1rem;
  border: 1px solid #efefef;
  margin: 0.5rem;
}

/**/
.tk-eskaintzacard {
  border: none !important;
}

.tk-eskaintzacard h5 {
  margin-bottom: 0;
}

/**/

.tk-gida-filtroa {
  h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;

    i {
      margin-left: 1rem;
    }
  }

  hr {
    max-width: 85%;
    margin-left: 0;
  }

  li {
    text-transform: uppercase;
    margin-left: 0.5rem;
  }

  label {
    font-size: 0.85rem;
  }

  form.tk-kanpainak label.kanpaina-label,
  .tk-btn.strong {
    font-weight: bold;

    .mark {
      background: url('../img/i_kanpainamark.svg') no-repeat center left;
      display: inline-block;
      height: 21px;
      width: 21px;
    }
  }
}

.tk-denda {
  text-transform: uppercase;
}
h3#filtroBTN.text-right {
  width: 100%;
}
@media (max-width: 990px) {
  h3#filtroBTN.text-right {
    padding-bottom: 1rem;
  }
}
.tk-jasotajancard {
  border: none !important;
}

.tk-bt-deitu {
  float: right;
  background-color: var(--color1);
  display: block;
  padding: 0.2rem 0.4rem;
  border-radius: 8px;
  margin-top: -1rem;
}

@media (max-width: 770px) {
  .tk-gidaaukerak {
    margin-bottom: 0;
  }

  .tk-jasotajancard .cardImage {
    width: 100%;
  }

  .tk-jasotajancard h5 {
    max-width: 90%;
  }

  .tk-gida-filtroa .tk-btn {
    text-transform: uppercase;
    margin-right: 0.5rem;
  }

  #collapseFiltroak {
    padding-bottom: 2rem;
  }

  .tk-gida-filtroa {
    h3 {
      margin-bottom: 1rem;
    }
  }

  .tk-shop .btn-phone {
    margin: 0.5rem 0;
    background-color: var(--color1);
    border-color: var(--color1);
    color: white !important;
  }

  .btn-whatsap {
    margin: 0.5rem 0;
  }
}

.email a i,
.website a i {
  color: black !important;
}

#sharebutton {
  float: right;
  margin-top: 1rem;
  z-index: 999;
  position: relative;
}

/**/
.tk-display-signature > div {
  display: flex;
}

#summary {
  clear: both;
}

/*kideak blocke berriak*/
body.tk-kideak-home .tk-centered-featured {
  position: relative;
  right: 50%;
  left: 50%;
  width: 100vw !important;
  max-width: none !important;
  margin-right: -50vw !important;
  margin-left: -50vw !important;
  padding: 2rem 0;
}
body.tk-kideak-home blockquote {
  border-left: 3px solid var(--color1);
  padding-left: 2rem;
  font-size: 2rem;
}

/* kideak bloke berriak */
body.tk-kideak-home .tk-dark {
  padding: 0;

  h2,
  p {
    color: white;
  }

  .tk-3element-row,
  .tk-centered-featured {
    background-color: var(--grisa5);
  }
}

.tk-centered-featured,
.tk-3element-row {
  position: relative;
  right: 50%;
  left: 50%;
  width: 100vw !important;
  max-width: none !important;
  margin-right: -50vw !important;
  margin-left: -50vw !important;
  padding: 2rem 0;

  @media (min-width: 990px) {
    padding: 4rem 0;
  }
}

.tk-blockquote-block {
  padding: 2rem 0;

  @media (min-width: 990px) {
    padding: 3rem 0;
  }
}

.tk-blockquote-block .row.right {
  justify-content: flex-end !important;
}

.tk-blockquote-block .row.center {
  justify-content: center !important;
}

.tk-blockquote-block blockquote {
  border-left: 3px solid var(--color1);
  padding-left: 2rem;
  font-size: 1.8rem;
  border-left: 3px solid var(--color1);
  line-height: 2rem;
}

.tk-featured-width-img {
  margin: 2rem 0;

  .order-1 {
    margin-bottom: 1rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}

.tk-featured-width-img h2 {
  font-size: 1.8rem;
}

.tk-3element-row .row {
  align-items: center;

  @media (max-width: 770px) {
    img {
      margin-bottom: 1rem;
    }
  }
}

.tk-quote-images {
  padding: 2rem 0;

  @media (min-width: 990px) {
    padding: 3rem 0;
  }
}

.tk-quote-images .col-md-12 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  @media (min-width: 990px) {
    gap: 2%;
  }
}

@media (min-width: 990px) {
  .tk-quote-images a {
    max-width: 31%;
    flex-basis: 31%;
    min-width: 31%;
  }
}

/* premium edukia */

.card.premium {
  .card-title::before {
    color: white;
    content: 'Kide';
    font-size: 0.85rem;
    display: inline-block;
    height: 16px;
    background-color: var(--color1);
    padding: 0 0.3rem;
    margin-right: 0.5rem;
    line-height: 16px;
    float: left;
    border-radius: 3px;
    margin-top: 4px;
  }

  .card-title.h2::before {
    font-size: 1rem;
    height: 25px;
    line-height: 25px;
    border: none;
    margin-top: 8px;
    padding: 0 0.5rem;
  }

  .card-title.h4::before {
    font-size: 0.9rem;
    height: 18px;
    line-height: 16px;
    margin-top: 6px;
  }
}

.premium-alert {
  background-color: white;
  text-align: center;
  border: 1px solid black;
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.premium-subscriber {
  border: 1px solid var(--color1);
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  margin-bottom: 1rem;
  margin-top: 1rem;
  max-width: 300px;
}

.premium-subscriber img {
  margin-bottom: 0.5rem;
}
/**/
.premium.no-subscriber {
  .tk-articlebody {
    position: relative;
  }
  .tk-articleimage {
    position: relative;
    .img-fluid {
      opacity: 0.4;
    }
  }
  h1#content-title::before {
    content: 'Kide';
    font-size: 1.2rem;
    display: inline-block;
    height: 30px;
    background-color: var(--color1);
    color: white;
    padding: 0 0.5rem;
    margin-right: 0.5rem;
    line-height: 30px;
    float: left;
    border-radius: 3px;
    margin-top: 8px;
  }
}

.premium.no-subscriber .oi.oi-play-circle {
  color: white;
  margin: 0;
  font-style: normal;
}
.premium.no-subscriber .tk-articleimage .oi {
  color: white;
  margin: 0;
  font-style: normal;
  padding: 0.2rem;
  font-size: 1.8rem;
}
.premium.no-subscriber .tk-img-embed-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  margin: 0;
  padding: 0;
  background-color: var(--grisa2);
  border-color: var(--grisa2);
}
.premium.no-subscriber .tk-articlebody::after {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to bottom right, transparent, white);
  padding-bottom: 2rem;
}

#tk-multimedia--edukia .premium.no-subscriber {
  .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.6;
  }
  .premium-alert {
    position: absolute;
    margin-top: -1rem;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    width: 80%;
    p {
      color: black !important;
    }
  }
  #summary {
    position: relative;
  }
  #summary::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom, transparent, black);
    padding-bottom: 2rem;
  }
}
/**/

@media (max-width: 1060px) {
  iframe.epaper-frame {
    height: 700px;
  }
}
@media (max-width: 770px) {
  iframe.epaper-frame {
    height: 500px;
  }
}
@media (max-width: 570px) {
  iframe.epaper-frame {
    height: 600px;
  }
}
@media (max-width: 470px) {
  iframe.epaper-frame {
    height: 500px;
  }
}
@media (max-width: 390px) {
  iframe.epaper-frame {
    height: 400px;
  }
}

@media (max-width: 770px) {
  a.small[title='Download'] {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 5px;
    margin-right: 6px;
    display: inline-block;
    width: 40px;
    height: 31px;
    background: url('/static/img/tts/i_download.svg') no-repeat center center;
    margin-top: 0.5rem;
  }
  a.small[title='shareurl'] {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 5px;
    margin-right: 6px;
    display: inline-block;
    width: 40px;
    height: 31px;
    background: url('/static/img/tts/i_share-m.svg') no-repeat center center;
    margin-top: 0.3rem;
  }
  #itzuliButton {
    background: url('/static/img/tts/i_translate.svg') no-repeat top center;
    height: 30px;
    width: 30px;
  }
  .tk-adimen {
    margin-top: 5px;
  }
}

a#copy-btn {
  cursor: pointer;
}
/***komunitatean berriak **/

.tk-communitycontent p.card-text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  .img-fluid {
    margin-right: 5px;
  }
}
.badge.small {
  flex-basis: 100%;
  text-align: left;
  margin-top: 6px;
}
#tk-gehitu {
  position: absolute;
  z-index: 9;
  right: 1rem;
  bottom: 1rem;
  width: 6rem;
  height: 6rem;
}
.add {
  background-color: var(--color1);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
}
.add-plus {
  width: 50px;
  height: 50px;
  align-items: center;
  position: fixed;
  right: 20px;
  bottom: 1rem;
  box-shadow: 0 5px 5px rgba(1, 1, 1, 0.5);
}
.add-plus a {
  display: flex;
  padding: 1rem;
}
.add-plus:hover {
  opacity: 0.7;
}
.add-bideo {
  right: 20px;
  bottom: 90px;
  position: fixed;
  border: 2px solid var(--color1);
  box-shadow: 0 3px 3px rgba(1, 1, 1, 0.3);
}
.add-event {
  right: 59px;
  bottom: 82px;
  position: fixed;
  border: 2px solid var(--color1);
  box-shadow: 0 3px 3px rgba(1, 1, 1, 0.3);
}
.add-post {
  right: 88px;
  bottom: 53px;
  position: fixed;
  border: 2px solid var(--color1);
  box-shadow: 0 3px 3px rgba(1, 1, 1, 0.3);
}
.add-gallery {
  right: 98px;
  bottom: 1rem;
  position: fixed;
  border: 2px solid var(--color1);
  box-shadow: 0 3px 3px rgba(1, 1, 1, 0.3);
}

table.tk-kide-content {
  width: 100%;
  th {
    border: 1px solid #efefef;
    padding: 5px;
    font-weight: 400;
  }
  td {
    border: 1px solid #efefef;
    padding: 5px;
  }
  img.card-img-top {
    max-width: 50px;
    margin: 5px;
  }
  .tk-img-card-caption {
    position: relative;
    width: 20px;
    margin: 5px;
    top: 0;
    bottom: auto;
    left: 0;
    .oi {
      font-size: 1rem;
    }
  }
}

.tk-eginbazkide {
  background-color: var(--grisa5);
  color: white;
  padding: 2rem;
  @media (min-width: 770px) {
    padding: 2rem 3rem;
  }
  margin: 2rem 0;
  h2,
  .h2 {
    color: white;
    font-size: 1.6rem;
  }
  a.btn {
    float: right;
  }
}

/* Swiper */

.swiper {
  max-width: 680px;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.swiper-slide {
  background-color: black;
  text-align: center;
  img {
    height: auto;
    max-height: 100%;
    width: auto !important;
  }
}
.swiper-button-next,
.swiper-button-prev,
.swiper-pagination-fraction {
  color: white !important;
  font-family:
    Helvetica Neue,
    Helvetica,
    Arial,
    sans-serif;
}

/* Formulario balidazioetarako */
.form-control.is-valid {
  /*  border-color: #28a745;  */
  padding-right: calc(1.5em + 0.75rem); /* Space for the icon */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.7L0 4.3 1.3 3l1 1 3.7-3.7L8 1.3 2.3 6.7z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center right calc(0.375em + 0.1875rem);
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid {
  /* border-color: #dc3545;  */
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center right calc(0.375em + 0.1875rem);
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/**multimedia atal berria **/
#tk-multimedia {
  background-color: #191919;
  margin-top: -1rem !important;
  padding: 2rem 0 0 0;
}

#tk-multimedia .tk-dark {
  background-color: #191919 !important;
  border: none !important;
  padding: 0 1rem;
}
#tk-multimedia .tk-dark img {
  border: none;
}
#tk-multimedia navbar .h3 {
  color: white;
}
#tk-multimedia .tk-menuhorizontala ul {
  border: none;
}
#tk-multimedia .tk-menuhorizontala li a {
  background-color: transparent;
  border-radius: 0;
  color: white !important;
}
#tk-multimedia .tk-menuhorizontala li.active a {
  border-bottom: 1px solid white;
}
.tk-scrollH {
  overflow-x: scroll;
}
.tk-card--saioa {
  border-radius: 1rem;
  overflow: hidden;
  margin: 1rem 3.5rem 1rem 0;
}
.tk-card--saioa.irratisaioa {
  max-width: 270px;
  min-width: 270px;
}
.tk-card--saioa.telebistasaioa {
  max-width: 400px;
  min-width: 400px;
}

.tk-card--saioa.podcastsaioa {
  max-width: 370px;
  min-width: 370px;
}
.img-crop-irratia {
  aspect-ratio: 3/4;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  margin-bottom: 1rem;
}
.img-crop-irratia.mini {
  max-width: 76px;
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  border: 3px solid white !important;
  border-radius: 6px;
}
.img-crop-telebista {
  aspect-ratio: 16/9;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  margin-bottom: 1rem;
}
.img-crop-telebista.mini {
  max-width: 146px;
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  border: 3px solid white !important;
  border-radius: 6px;
}
.img-crop-podcasta {
  aspect-ratio: 1/1;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  margin-bottom: 1rem;
}
.img-crop-podcasta.mini {
  max-width: 146px;
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  border: 3px solid white !important;
  border-radius: 6px;
}
@media (max-width: 770px) {
  .img-crop-telebista.mini {
    max-width: 80px;
  }
  .img-crop-podcasta.mini {
    max-width: 70px;
  }
  .img-crop-irratia.mini {
    max-width: 60px;
  }
}
.tk-card--saioa > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}
.tk-card--saioa.irratiatala > div {
  display: block;
}
.tk-saioa--gaia {
  text-transform: uppercase;
  text-align: right;
  font-size: 0.9rem;
}
.tk-saioa--gaia {
  text-transform: uppercase;
  text-align: right;
  font-size: 0.9rem;
}
.tk-saioa--kap {
  font-size: 0.9rem;
}
/*fitxa*/
#tk-multimedia h1 {
  color: white;
}
.tk-saioa--fitxa {
  padding: 2rem;
  background-color: black;
  position: relative;
}
.tk-mm-actions {
  text-align: right;
  padding-bottom: 0.5rem;
}
@media (min-width: 990px) {
  .tk-mm-actions {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 2;
  }
}

.tk-mm-actions a {
  cursor: pointer;
  display: inline-block;
  margin-left: 1rem;
  position: relative;
  z-index: 9999;
}
.tk-saioa--content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.multimedia--mota {
  text-transform: uppercase;
  font-weight: 600;
}
.tk-saioa--egilea {
  font-weight: 200;
  margin-top: 1rem;
  font-style: italic;
}
.tk-saioa--fitxa .tk-saioa--gaia {
  text-align: left;
  margin-top: 2rem;
}
.tk-mm-atala {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  padding-top: 1rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}
.tk-mm-atala img {
  max-width: 150px;
}
#tk-multimedia button#pills-pilulak-tab,
#tk-multimedia button#pills-atalak-tab {
  background-color: transparent;
  border: none;
  padding: 0;
  text-transform: uppercase;
  color: white;
  border-radius: 0;
}
#tk-multimedia .nav-pills .nav-link {
  margin-right: 2rem;
}
#tk-multimedia .nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background-color: transparent;
  text-transform: uppercase;
  border: none;
  padding: 0;
  border-bottom: 1px solid white !important;
  border-radius: 0;
}
#tk-multimedia a#copy-btn {
  cursor: pointer;
}
#tk-multimedia a#copy-btn:hover {
  opacity: 0.6;
}
#tk-multimedia #copied_url {
  color: white;
}
/**/

.tk-mm--denboraldiak {
  max-width: 250px;
  position: relative;
}
.tk-mm--denboraldiak select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: inline-block;
  width: 100%;
  cursor: pointer;
  padding: 5px 10px;
  height: 42px;
  outline: 0;
  border: 0;
  border-radius: 0;
  background: black;
  color: white;
  font-size: 1em;
  border: 1px solid white;
  position: relative;
  transition: all 0.25s ease;
}
.tk-mm--denboraldiak select::-ms-expand {
  display: none;
}

.tk-mm--denboraldiak select:hover {
  background: #222;
}
.tk-mm--denboraldiak i {
  content: '';
  display: block;
  position: absolute;
  right: 20px;
  top: calc(50% - 13px);
  width: 16px;
  height: 16px;
  display: block;
  border-left: 3px solid white;
  border-bottom: 3px solid white;
  transform: rotate(-45deg);
  transition: all 0.25s ease;
}

.tk-mm--denboraldiak:hover i {
  margin-top: 3px;
}

#tk-multimedia--edukia {
  padding: 2rem;
  background-color: black;
  color: white;
  margin-bottom: 2rem;
}
#tk-multimedia--edukia .tk-datePublished,
#tk-multimedia--edukia .tk-author-card {
  color: white;
}
#tk-multimedia--edukia .tk-display-signature {
  border-color: rgba(255, 255, 255, 0.3);
  padding-bottom: 5px;
  height: auto;
}
#tk-multimedia--edukia2 {
  padding: 2rem;
  margin-bottom: 2rem;
}

#tk-multimedia .zuzenekoa {
  margin-bottom: 2rem !important;
  background-color: black;
  border: 1px solid black;
  color: white;
}
#tk-multimedia:has(div.zuzenekoa) {
  border: 1px solid #191919;
}
#tk-multimedia {
  border: 1px solid #191919;
}
@media (max-width: 770px) {
  #tk-multimedia {
    padding-top: 1rem;
  }
  #tk-multimedia--edukia,
  #tk-multimedia--edukia2 {
    padding: 1rem 0;
    margin-bottom: 0 -1rem 1rem -1rem;
  }
  #tk-multimedia--edukia {
    background-color: transparent;
  }
  .tk-saioa--fitxa {
    padding: 0;
    background-color: transparent;
  }
  .tk-mm--denboraldiak select {
    margin: bottom 0.5rem;
  }
}

.big-image {
  position: relative;
  margin: 0 auto;
  height: 500px;
  overflow: hidden;
  max-width: 1600px;
  width: 100%;
  .col-md-8 {
    height: 500px;
  }
}
.big-featured-text {
  background-color: black;
  padding: 4rem 3rem;
  border-radius: 2rem;
  color: white;
  z-index: 999;
  margin-left: -3rem;
  width: 100%;
  font-size: 1.1rem;
  h2 {
    color: white;
    font-size: 2rem;
  }
  a {
    text-decoration: underline !important;
  }
  a:hover {
    color: white !important;
  }
}
@media (max-width: 770px) {
  .big-image {
    height: auto;
  }
  .big-image .col-md-8 {
    height: 270px;
  }
  .big-featured-text {
    margin-left: 0;
    padding: 1rem;
    border-radius: 1rem;
    margin-top: 1rem;
  }
}

@media (max-width: 770px) {
  .tk-card--saioa.telebistasaioa,
  .tk-card--saioa.podcastsaioa {
    max-width: 250px;
    min-width: 250px;
  }
  .tk-card--saioa.irratisaioa {
    max-width: 200px;
    min-width: 200px;
  }
  .tk-card--saioa > div {
    flex-direction: column;
  }
  .tk-saioa--gaia {
    text-align: left;
  }
  .tk-card--saioa {
    margin-right: 2rem;
  }
}
/**multimedia main home block**/
.home-nahieran .tk-scrollH {
  margin-bottom: 2rem;
}
@media (min-width: 770px) {
  .home-nahieran {
    .tk-card--saioa.podcastsaioa {
      max-width: 280px;
      min-width: 280px;
    }
    .img-crop-podcasta.mini {
      max-width: 80px;
    }
    .tk-card--saioa.irratisaioa {
      max-width: 225px;
      min-width: 225px;
    }
    .img-crop-irratia.mini {
      max-width: 65px;
    }
  }
}
/***/

.sailkatuak-emaitzak img.img-right {
  float: right;
  border: none;
  max-width: 200px;
  margin-left: 1rem;
}
.sailkatuak-filtroak .filtroa {
  text-align: center;
}

.sailkatuak-filtroak .filtroa a {
  display: flex;
  flex-direction: column;
  width: 120px;
  margin: 0 0.5rem 0.5rem 0.5rem;
  align-items: center;
}
@media (max-width: 770px) {
  .sailkatuak-filtroak .filtroa a {
    width: 80px;
  }
}

.sailkatuak-filtroak .filtroa a:hover img {
  border: 2px solid var(--color1);
}
@media (max-width: 770px) {
  .sailkatuak-filtroak {
    overflow-x: auto;
  }
  .sailkatuak-filtroak .d-flex {
    flex-wrap: nowrap;
  }
  .sailkatuak-emaitzak img.img-right {
    float: none;
    margin: 0;
  }
  .sailkatuak-emaitzak h6 {
    text-transform: uppercase;
    padding-top: 1rem;
  }
}
@media (min-width: 771px) {
  .sailkatuak-filtroak .d-flex {
    justify-content: center;
  }
  .sailkatuak-emaitzak h6 {
    margin-left: 4rem;
  }
}
.sailkatua-fitxa {
  border: 1px solid var(--grisa1);
  border-radius: 2rem;
  padding: 2rem;
}
.filtro-icon {
  border-radius: 50%;
  border-radius: 50%;
  border: 2px solid var(--grisa2);
}
