/* global style */
:root {
  font-size: 16px;
  --main-color: #000;
  --second-color: #3A3A3A;
  --third-color: #E5E5E5;
  --breadcrumb-main-color: #FFFFFF;
  --contrast-dark-color: #FFFFFF;
  --background-bright-color: #F8F8F8;
  --error-color: #ff0000;
  color: var(--second-color);
}

a {
  color: var(--main-color);
}

a:hover {
  color: var(--second-color);
}

a:visited {
  color: var(--main-color);
}
#ikony-sm{
  width: calc( 100vw - 3rem) ;}
.image a{text-decoration: none;}
footer {
  background-color: #000;
  color:#fff;
  padding-top: 2rem;
}

footer h2 {
  color: var(--contrast-dark-color);
}

footer h3 {
  font-size: 1.2rem;
}

footer a:hover, footer a:active, footer a:visited {
  color: var(--contrast-dark-color);
}

footer a {
  color: var(--contrast-dark-color);
  text-decoration: none;
}

blockquote{
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
  font-style: italic;
  font-size: 1.2rem;
}

blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}

.hero #breadcrumbs ol {
  margin-bottom: 0;
}

.dark h1, .dark p, .dark h2, .dark h3, footer h3, .dark label {
  color: var(--contrast-dark-color);
}

.with-background>picture>img, .scaleup img, .scaleup {
  width: 100%;
}

.hero {
  min-height: 650px;
}

.hero .col-lg {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero .col-md {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.with-background {

  position: relative;
}

.with-background div {
  position: relative;
  z-index: 1;
}

.with-background .section-background {
  overflow-y: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  z-index: 0;
}

.with-background .section-background>picture>img, .with-background .section-background img {
  max-width: 100%;
  max-height: 100%;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.list-text-block {
  background: var(--background-bright-color);
}

.col-lg-4:nth-child(2n+0) .list-text-block {
  background-color: var(--second-color);
  color: var(--contrast-dark-color);
}

.col-lg-4:nth-child(2n+0) .list-text-block .field-block-list-item::after {
  background: var(--contrast-dark-color);
}

#block-gryfini-subtheme-site-branding, #block-gryfini-theme-site-branding {
  display: flex;
  align-content: center;
  align-items: center;
  flex-direction: row;
  max-width: calc( 100% - 50px - 2rem);
}

table {
  border: 0;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table caption {
  font-size: 1.3em;
  margin: .5em 0 .75em;
}

table tr {
  border-bottom: 3px solid #ddd;
  display: block;
  margin-bottom: 1rem;
}

tbody tr:nth-of-type(odd) {
  background-color: var(--third-color);
}

tbody tr:hover {
  background-color: var(--main-color);
  color: var(--breadcrumb-main-color);
}

table th,
table td {
  padding: 1rem;
  text-align: left;
}

table td {
  border: 1px solid #ddd;
  display: block;
  text-align: left;
}

table th {
  border: 1px solid #ccc;
  letter-spacing: .1em;
  text-transform: uppercase;
}

th p, td p {
  padding: 0 !important;
}

table td::before {
  /*
  * aria-label has no advantage, it won't be read inside a table
  content: attr(aria-label);
  */
  content: attr(data-label);
  float: left;
  font-weight: bold;
  text-transform: uppercase;
}

table td:last-child {
  border-bottom: 0;
}

thead {
  display: none;
}
.pswp__img, .pswp__zoom-wrap{
  width: 100%;
    height: 100%;
}
@media (min-width: 62em) and (max-width: 74.99em) {
  .list-text-block img {
    width: 50px;
  }

  .list-text-block h2 {
    font-size: 1.5rem;
    transform: translate(70px, -75px);
  }

  .list-text-block .subheading {
    transform: translate(70px, -45px);
    display: block;
  }
}

@media(min-width: 34em) {
  .hero {
    min-height: 260px;
  }
}

@media(min-width: 48em) {
  .hero {
    min-height: 320px;
  }

  table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
  }

  table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
  }

  table tr {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: 1rem;
    display: table-row;
  }

  thead {
    display: table-header-group;
  }

  table th,
  table td {
    padding: 1rem;
    text-align: left;
    display: table-cell;
  }

  table th {
    letter-spacing: .1em;
    text-transform: uppercase;
  }
}

@media(min-width: 62em) {
  #block-gryfini-subtheme-site-branding, #block-gryfini-theme-site-branding {
    max-width: calc( 100% - 2rem);
  }

  .hero {
    min-height: 400px;
  }
}

@media(min-width: 100em) {
  :root {
    font-size: 16px;
  }
}

@media(min-width: 121em) {
  :root {
    font-size: 18px;
  }
}

@media(min-width: 141em) {
  :root {
    font-size: 20px;
  }
}

@media(min-width: 151em) {
  footer {
    background-size: cover;
  }

  :root {
    font-size: 24px;
  }
}
