/*
Theme Name: Ateliér Grosošová
Theme URI: https:///
Description: Šablona - Ateliér Grosošová
Author: Jitka Turbáková & Daniel Dostál | imagemakers.cz
Author URI: http://www.imagemakers.cz/
Version: 1.0
Tags: responsive, bootstrap5
*/
@font-face {
  font-family: 'robotobold';
  src: url('font/roboto-bold-webfont.woff2') format('woff2'),
    url('font/roboto-bold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'robotoregular';
  src: url('font/roboto-regular-webfont.woff2') format('woff2'),
    url('font/roboto-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'robotoregular', sans-serif;
}

body {
  word-break: break-word;
}

a {
  color: #000;
}

h2 {
  font-size: 1.5em;
  /* margin-top: 1.2em; */
}

h3 {
  font-size: 1.3em;
}

img {
  width: 100%;
}

a:hover {
  color: #000;
}

/* Navbar */
.logged-in .navbar {
  margin-top: 32px !important;
}

.navbar {
  background-color: #fff;
  border-bottom-color: #000000;
  border-bottom-width: 2px;
  border-bottom-style: solid;
}

.navbar img {
  padding: 1em 0;
  max-width: 100%;
}

.navbar a,
.navbar a:focus {
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
}

.navbar a:hover {
  color: #000;
}

.navbar a.dropdown-item {
  color: #000;
}

.dropdown-item:focus {
  background-color: #007a77;
}

.dropdown-menu.show {
  /* border-width: 0; */
  border-radius: 0;
}

.navbar-toggler {
  background-color: #fff;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(39,64,86, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-brand {
  font-weight: 700;
  margin-top: .1em;
}

.navbar a.dropdown-item {
  font-weight: bold;
  white-space: normal;
  width: 250px;
  margin: 0.3em 0;
}

.dropdown-item.active,
.dropdown-item:active,
.navbar a.dropdown-item:active {
  color: #fff;
  background-color: #a7a7a7;
}

.dropdown-menu .show {
  background-color: #a7a7a7;
}

/* breadcrumbs */
#breadcrumbs {
  margin-bottom: 2em;
  text-transform: uppercase;
  font-size: 0.9em;
}

#breadcrumb a:hover {
  color: #000;
}

/* hlavicka */
.hlavicka h1 {
  font-size: 4em;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  text-align: left;
}

.hlavicka h2 {
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.2em;
  font-size: 2.5em;
  text-align: left;
}

.hlavicka .carousel-caption {
  position: absolute;
  bottom: 0;
  /* Adjust as needed */
  left: 5em;
  bottom: 3em;
  text-align: left;
  z-index: 100;
  width: auto;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 35%);
}

.hlavicka p {
  text-transform: none;
  font-size: 1.3em;
  line-height: 1.6em;
}

/* Obsah */
.obsah,
.obsah-page-in {
  margin: 2em 0;
}

.nounder a {
  text-decoration: none;
}

.obsah h1,
.obsah h2,
.obsah h3 {
  color: #000000;
  text-transform: uppercase;
  margin-bottom: .5em;
}

.obsah h1 {
  font-size: 2.2em;
}

.obsah h3 {
  color: #000000;
  margin-bottom: .5em;
}

.obsah h2 {
  font-size: 2.2em;
  margin-right: 8px;
}

.hlavni-titulek {
  font-size: 3.5em;
  margin: 0.5em 0;
}

.otevirak {
  padding: 0 6px;
}

.card.otevirak img {
  max-height: 460px;
  /* min-height: 450px; */
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

.obsah p {
  font-size: 1.2em;
  line-height: 1.9em;
}

.obsah a {
  color: #000;
  text-decoration: underline;
}

.obsah .uvod-home {
  margin-bottom: 2em;
}

.obsah-page-in {
  padding-bottom: 3em;
}

.obsah-page-in h1 {
  text-transform: uppercase;
  margin-bottom: 1em;
}

.obsah-page-in h2 {
  /* margin-bottom: 1em; */
  text-transform: uppercase;
}

.obsah-page-in p {
  font-size: 1.1em;
  line-height: 1.9em;
  margin-bottom: 1em;
}

.obsah {
  font-size: .9em;
}

.obsah .card {
  border-width: 0;
  background-color: transparent;
  margin-bottom: 2em;
}

.obsah .card-body,
.obsah .card-footer {
  padding: 0;
}

.obsah .card-footer {
  display: none;
}

.obsah .card h3 {
  text-transform: uppercase;
  margin: 1em 0 .5em;
  font-size: 1.6em;
}

.obsah .card-text p {
  line-height: 1.4em;
}

.cat .card-title {
  padding: 0 1em;
}

.cat .card-title h2 {
  font-size: 1.3em;
  color: #fff;
  margin: .5em;
}

.kategorie a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
}

.kategorie h2 {
  display: inline;
}

.kategorie a h2 {
  background-color: #4c4c4c;
  padding: .1em .5em;
}

.card img {
  width: 100%;
  /* -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  transition: .5s ease; */
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease-in-out;
  background-color: hsla(37, 99%, 46%, 0.95);
  /* Default state styles */
  opacity: 0;
  color: #fff;
  padding: 2em 0;
}

h2.overlay-text {
  color: #fff;
}

.card-overlay h2 {
  /* Hover state styles */
  transition: opacity 0.5s ease-in-out;
}

.card:hover .card-overlay {
  opacity: 1;

  /* Apply additional styling or animations to enhance text appearance on hover */
  h2 {
    letter-spacing: 0.5px;
    font-weight: bold;
  }
}

.card img:hover {
  -webkit-filter: none;
  filter: none;
}

/* Add some styles to the card */
.card {
  margin: 0 auto;
}

.card img {
  border-radius: 0;
}

.card-img-top {
  width: 100%;
  height: auto;
}

.card-title {
  font-weight: bold;
}

.card-text {
  margin-top: 10px;
}

.card-img-overlay {
  background: rgb(0, 0, 0);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .7) 90%);
  border-radius: 0;
}

.cat h2 {
  padding: 0;
  margin: 0;
  font-size: 1.5em;
}

.sidebar {
  padding-top: .2em;
}

.postdate,
.tags {
  font-size: .8em;
}

.tags a {
  font-size: .8em;
  background-color: #007a77;
  color: #fff;
  padding: .6em;
  border-radius: 1em;
}

.wp-caption-text {
  text-align: center;
}

/* gallery */
.jetpack-gallery-tiled,
.acf-gallery-field__image {
  width: 100% !important;
}

/* Global gallery styles */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery img {
  height: auto;
  border: 0px #fff;
  object-fit: cover;
  width: 100%;
}

#gallery-1 {
  margin: 0;
}

#gallery-1 .gallery-item {
  float: left;
  margin: 0 !important;
  text-align: center;
  width: 33%;
  padding: 2px;
}

#gallery-1 img {
  border: 0 !important;
}

#gallery-1 .gallery-caption {
  margin-left: 0;
}

/* Gallery caption styles */
.gallery img:hover {
  cursor: pointer;
}

.gallery img:hover .caption {
  display: block;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px;
  text-align: center;
}

/* CSS for Masonry Gallery */
.gallery {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.gallery-item a {
  border-width: 0;
}

.gallery-item img {
  /* max-width: 100%; */
  object-fit: cover;
  width: 100%;
  height: auto;
  /* display: block; */
}

/* Header */
header {
  padding-top: 100px;
}

/* Footer */
.paticka {
  padding: 2em 0 2em 0;
  line-height: 2em;
  background-color: #f3f3f3;
}

.paticka img {
  width: auto;
  max-height: 120px;
  max-width: 300px;
  margin: 1em;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  transition: .5s ease;
}

.paticka img:hover {
  -webkit-filter: none;
  filter: none;
}

.paticka .card {
  border: 0;
  background-color: transparent;
}

.paticka .card .card-footer {
  background-color: transparent;
  border: 0;
}

.paticka a {
  color: #000;
}

.paticka svg {
  margin: 0 1em;
}

.paticka h4 {
  font-size: 1.3em;
  font-weight: bold;
  line-height: 1.4em;
}

.paticka p {
  margin-bottom: 2em;
}

.kredity {
  padding: 1em 0;
  background-color: #f3f3f3;
  font-size: .8em;
}

.kredity .container {
  border-top-style: solid;
  border-top-width: 1px;
  padding-top: 1em;
}

.kredity a {
  color: #000;
}

.kredity svg {
  margin: 0 .3em;
  color: #fff;
}

/* carousel */
.jp-carousel-photo-title-container,
a.jp-carousel-icon-info {
  display: none;
}

.jp-carousel-overlay .swiper-zoom-container>img,
.jp-carousel-overlay .swiper-zoom-container>svg,
.jp-carousel-overlay .swiper-zoom-container>canvas {
  /* max-height: 98%!important; */
  margin-top: 1em;
}

.mfp-container {
  background-color: rgba(255, 255, 255, 0.6);
}

#gallery-1 .gallery-item:first-of-type {
  width: 99%;
  max-width: none;
}

#gallery-1 .gallery-item:first-of-type img {
  width: 100%;
  height: auto;
}

.swiper-pagination-bullets {
  display: none !important;
}

.jp-carousel-pagination {
  display: none !important;
}

.carousel-indicators {
  display: none !important;
}

/* Galerie */
/* Tlačítka */
/* video 100% */
.hbps-responsive-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.hbps-responsive-video iframe,
.hbps-responsive-video object,
.hbps-responsive-video embed,
.hbps-responsive-video video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* Tagy */
ul.tagy {
  padding: 0;
  list-style-type: none;
}

ul.tagy li a,
ul.tagy li a:hover {
  color: #fff !important;
}

ul.tagy li {
  display: inline-block;
  background-color: rgb(0, 0, 0);
  border-radius: 15px;
  padding: 0.4em 0.8em;
  margin-right: 0.4em;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  font-size: 0.8em;
}

/* wpcf7 */
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select,
.wpcf7 input[type="file"] {
  width: 95%;
}

.wpcf7-submit {
  background-color: #11af1c;
  color: #fff;
  font-weight: bold;
  border-radius: 30px;
  padding: 1em 2em;
  width: -webkit-max-content !important;
  width: -moz-max-content;
  width: max-content;
  border-width: 0;
}

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

blockquote {
  background: #f9f9f9;
  border-left: 10px solid #6d7e85ff;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "„""“";
  /* quotes: '\201c' '\201d' '\2018' '\2019'; */
}

blockquote:before {
  color: #6d7e85ff;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}

blockquote p {
  display: inline;
}

/* ===========================
      Wordpress
=========================== */
/* Zarovnání */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* embed */
/* Galerie */
.gallery img {
  width: 100%;
}

/* Video 100% */
.hbps-responsive-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  margin: 0 0 1em 0;
}

.hbps-responsive-video iframe,
.hbps-responsive-video object,
.hbps-responsive-video embed,
.hbps-responsive-video video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* ===========================
      Media queries
=========================== */
@media (max-width: 992px) {
  .boxy .card-title {
    font-size: 1.5em;
  }
  .hlavicka .carousel-caption h2 {
    position: absolute;
    left: 1em;
    bottom: .2em;
    font-size: 1.3em;
  }

  .hlavicka .carousel-caption {
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
  }
}

@media (max-width: 768px) {
  img {
    width: 100%;
    height: auto;
  }

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

  .hlavicka h1 {
    font-size: 1.8em;
  }

  .hlavicka h2 {
    font-size: 1.4em;
  }



  .kredity .im {
    text-align: center;
  }

  footer {
    text-align: center;
  }
}

@media (max-width: 406px) {
  .navbar .navbar-brand {
    width: 60%;
  }
}