/*
Theme Name:   Narodni Repozitar
Description:  Child theme of Astra for narodni repozitar website
Author:       Jan Kurš & David Shakhar
Author URI:   https://jankurs.cz
Template:     astra
Version:      0.0.1
*/

/* load typeface */
/* @import url('https://fonts.cdnfonts.com/css/univers'); */
/* same as above, but without condensed type*/
@font-face {
  font-family: univers-light;
  font-style: normal;
  font-weight: 300;
  src: local("Univers"),
    url(https://fonts.cdnfonts.com/s/38968/UniversLight.woff) format("woff");
}
@font-face {
  font-family: univers-regular;
  font-style: normal;
  font-weight: 400;
  src: local("Univers"),
    url(https://fonts.cdnfonts.com/s/38968/UniversRegular.woff) format("woff");
}
@font-face {
  font-family: univers-bold;
  font-style: normal;
  font-weight: 700;
  src: local("Univers"),
    url(https://fonts.cdnfonts.com/s/38968/UniversBold.woff) format("woff");
}

/* set typeface as default to all elements */
body,
button,
input,
select,
textarea,
.ast-button,
.ast-custom-button {
  font-family: "Univers-regular", sans-serif;
}

html {
  font-family: "Univers-regular", sans-serif;
  font-style: normal;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Univers-regular", sans-serif;
  font-weight: 600;
}

/* remove background from header */
.ast-primary-header-bar,
.ast-above-header.ast-above-header-bar {
  background: transparent;
}

/* place background image */
.ast-plain-container:not(.wp-admin),
.ast-page-builder-template {
  background-image: url("./assets/img/bg.png");
  background-position: center -60px;
}

/* white background for content */
.ast-above-header-wrap .ast-container,
.site-primary-header-wrap.ast-container,
.site-content .ast-container,
.site-content .ast-container-fluid {
  background-color: #ffffff;
}

.ast-header-breadcrumb {
  border: 0;
  padding: 0;
  background: transparent;
}
.main-header-bar.ast-header-breadcrumb .ast-container {
  background: #ffffff;
  padding: 10px 20px;
}

.ast-primary-header-bar {
  border: none;
}

.entry-content > .wp-block-columns {
  padding-right: 0;
  padding-left: 0;
}

/* make clickable area as big as possible */
a.wp-block-tiptip-hyperlink-group-block {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #23d26e;
  padding: 8px;
  transition: 0s all ease;
}

a.wp-block-tiptip-hyperlink-group-block:hover {
  border-width: 5px;
  padding: 4px;
}

footer a.menu-link {
  color: #ffffff;
}

footer a.menu-link:hover {
  color: #23d26e;
}

footer .ast-builder-html-element p{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

a[rel="external"]:not(:has(img)),
a[target="_blank"]:not(:has(img)) {
  background-image: url(assets/img/external-link.svg);
  background-position: center right;
  background-repeat: no-repeat;
  background-size: 0.857em;
  padding-right: 1em;
}

@media (min-width: 922px) {
  .ast-primary-header-bar {
    border: none;
  }
  .ast-container #primary.content-area.primary {
    margin-top: 1.5em;
    maring-bottom: 1.5em;
  }
}
