* {
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

body {
  text-align: center;
  overflow-x: hidden;
}

.content-wrapper {
  width: 90%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

.in-index .content-wrapper {
  margin-top: 10px;
}

.in-index .slider .circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-color: #ffffff;
  position: absolute;
  left: 50%;
  bottom: -55px;
  transform: translateX(-50%);
}

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 60px;
}

.slider .slides {
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.5s ease;
}

.slider .slide {
  position: relative;
  /* Pro absolutní pozicování nadpisu */
  flex-shrink: 0;
  width: 100%;
}

.slider img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -1px;
}

.slider .controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.slider button {
  background: transparent;
  color: white;
  border: none;
  padding: 25px;
  cursor: pointer;
  font-size: 62px;
}

.slider .slide h1 {
  position: absolute;
  top: calc(50% + 15px);
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 5em;
  font-family: "Jost", sans-serif;
  font-weight: 200;
  text-transform: lowercase;
  text-align: center;
  margin-bottom: 0px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  width: 100%;
  letter-spacing: 5px;
}

.slider .slide h1 span {
  color: #fff;
  text-transform: uppercase;
}

.slider-rtl {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 40px;
  background-color: white;
}

.slider-rtl .slides-rtl {
  display: flex;
  flex-direction: row;
  position: relative;
  transition: transform 0.5s ease;
}

.slider-rtl .slide-rtl {
  flex-shrink: 0;
  width: 100%;
}

.slider-rtl img {
  display: block;
  width: 100%;
  height: auto;
}

/* .slider-rtl .slide-rtl:nth-child(2),
.slider-rtl .slide-rtl:nth-child(4) {
    margin-left: 1px;
} */

.in-index .introduction h2 {
  margin-top: 120px;
}

h2 {
  font-size: 36px;
  color: #4bae32;
  /* font-style: italic; */
  font-weight: bold;
}

.introduction>p {
  width: 50%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  color: #4bae32;
  font-size: 21px;
}

.hp-info-block {
  display: flex;
}

.hp-info-block.reverse {
  flex-direction: row-reverse;
}

.hp-info-block .photo,
.hp-info-block .slider-rtl {
  width: 52%;
}

.hp-info-block .photo img,
.hp-info-block .slider-rtl img {
  min-width: 100%;
  max-width: 100%;
  height: auto;
}

.hp-info-block .text {
  width: 48%;
  text-align: left;
  padding: 0px 5%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
}

.hp-info-block.block-1,
.hp-info-block.block-2,
.hp-info-block.block-3,
.hp-info-block.block-4,
.hp-info-block.block-5 {
  margin-top: 120px;
}

p.strong-green>strong {
  font-size: 24px;
  color: #4bae32;
  font-style: italic !important;
}

.hp-info-block .text p {
  font-size: 18px;
}

.hp-info-block .text>p>a {
  color: #4bae32;
  border: solid 2px #4bae32;
  text-decoration: none;
  border-radius: 30px;
  padding: 10px 15px;
  transition: 0.3s;
}

.hp-info-block .text>p>a:hover {
  color: #40982a;
  border-color: #40982a;
  transition: 0.3s;
}

.hp-info-block .text p.button-row {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.hp-info-block .text>* {
  width: 100%;
}

.hp-info-block.fotobedna-hp .fotobedna-hp-text.text h3 {
  font-size: 24px;
  color: #4bae32;
  font-weight: bolder;
}

.hp-info-block.fotobedna-hp .fotobedna-hp-text.text p.button-row a {
  min-width: 150px;
  text-align: center;
}

.in-index .reviews {
  margin-top: 120px;
}

.in-index .reviews-grid {
  display: flex;
  justify-content: space-between;
  margin-top: 70px;
}

.in-index .reviews-grid .review {
  display: flex;
  flex-wrap: wrap;
  border: 3px solid black;
  border-radius: 40px;
  padding: 20px;
  width: 100%;
}

.in-index .reviews-grid .review.active {
  border-color: #4bae32;
}

.in-index .reviews-pagination {
  margin-top: 35px;
}

.in-index .reviews-pagination button {
  font-size: 0;
  width: 10px;
  height: 10px;
  border: 0px;
  background-color: black;
  border-radius: 100%;
}

.in-index .reviews-pagination button.active {
  background-color: #4bae32;
  width: 35px;
  border-radius: 30px;
}

.in-index .profil-img {
  width: 60px;
  height: 60px;
  background-color: #d9d9d9;
  border-radius: 100%;
}

.in-index .reviews-grid .review>div.name {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  width: calc(100% - 60px);
  padding-left: 20px;
}

.in-index .reviews-grid .review>div.name>span {
  width: 100% !important;
  height: fit-content;
  text-align: left;
}

.in-index .reviews-grid .review>div.name>span.name {
  font-weight: 800;
  font-size: 18px;
}

.in-index .reviews-grid .review>div.name>span.date {
  font-size: 14px;
}

.in-index .reviews-grid .review .stars {
  width: 100%;
  text-align: left;
  color: #4bae32;
  font-size: 34px;
  height: 34px;
}

.in-index .reviews-grid .review .stars>p {
  margin-bottom: 0px !important;
  height: 34px;
}

.in-index .reviews-grid .review .review-text {
  text-align: left;
  height: calc(100% - 94px);
  margin-top: 10px;
}

.in-cenik .row.service-list {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  margin-top: 20px;
}

.in-cenik .col-sm-4.service {
  width: calc(100% / 3 - 40px);
  /* background-color: #dcefd7; */
  border: 4px solid #4bae32;
  border-radius: 30px;
  padding: 35px 30px;
  text-align: left;
}

.in-cenik .row.service-list ul {
  list-style-type: square;
}

/* .in-portfolio .gallery {
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
} */

.in-portfolio .gallery img {
  max-width: 100%;
  min-width: 100%;
  border-radius: 30px;
}

.in-portfolio div.menu ul {
  margin-top: 20px;
  list-style-type: none;
  display: flex;
  justify-content: center;
}

.in-portfolio div.menu ul li {
  padding: 10px 20px;
  margin-right: 5px;
  cursor: pointer;
  display: inline-block;
  border-radius: 5px;
  border: solid 2px transparent;
  transition: background-color 0.3s;
  transition: 0.3s;
  border-radius: 15px;
}

.in-portfolio .menu ul li.active {
  background-color: #4bae32;
  color: #fff;
  border: solid 2px #4bae32;
  text-decoration: none;
  border-radius: 15px;
  padding: 10px 20px;
}

.in-portfolio .menu ul li.active:hover {
  color: #fff;
}

.in-portfolio .menu ul li:hover {
  background-color: none;
  color: #4bae32;
  border: solid 2px #4bae32;
  text-decoration: none;
  border-radius: 15px;
  padding: 10px 20px;
  transition: 0.3s;
}

/* .in-portfolio .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
} */

.in-portfolio .gallery-item {
  /* flex: 1 1 calc(25% - 15px);
    max-width: calc(25% - 15px); */
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s ease, transform 0.5s ease, all 0.5s ease;
}

.in-portfolio .gallery-item.hidden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  flex: 0;
  max-width: 0;
}

.in-portfolio .gallery>.row {
  width: 100%;
}

.in-portfolio .gallery .gallery-item {
  padding: 10px 10px;
}

.in-portfolio .lazyload {
  opacity: 0;
  transition: opacity 0.5s;
}

.in-portfolio .lazyloaded {
  opacity: 1;
}

/* .in-portfolio .gallery { */
/* column-count: 4 !important; */
/* column-width: calc(100vw/ 6) !important;
    column-gap: 16px;
    column-gap: 16px !important;
}

.in-portfolio .gallery-item {
    break-inside: avoid !important;
    margin-bottom: 16px !important;
}

.in-portfolio .gallery-item img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
} */

.in-portfolio .gallery-item.hidden {
  margin: 0px !important;
  padding: 0px !important;
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

.in-portfolio .gallery-item img {
  min-height: 319px;
  object-fit: cover;
}

#gallery div img {
  width: 100%;
  display: block;
}

.in-cenik h1,
.in-portfolio h1 {
  padding-top: 50px;
}

body:not(.in-index) h1 {
  font-size: 42px;
  color: #4bae32;
  /* font-style: italic; */
  font-weight: bold;
}

.in-ochrana-osobnich-udaju .content-wrapper {
  padding-top: 50px;
  text-align: left;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #4bae32;
  color: white;
  cursor: pointer;
  padding: 10px;
  border-radius: 16px;
  font-size: 18px;
}

button#myBtn img {
  width: 30px;
  height: auto;
}

body button#myBtn {
  display: none;
}

body.scrolled button#myBtn {
  display: block !important;
}

footer {
  display: flex;
  flex-wrap: wrap;
  background-color: black;
  color: white;
  text-align: left;
  margin-top: 120px;
  padding-left: 5%;
  padding-right: 5%;
  padding-top: 75px;
  padding-bottom: 0px;
  justify-content: center;
}

footer a {
  color: #ffffff !important;
  text-decoration: none;
}

footer h4 {
  color: #4bae32 !important;
  font-weight: 700;
}

footer h4 span {
  font-weight: 700;
}

footer>div {
  width: 100%;
}

footer>.footer-top {
  max-width: 1920px;
  display: flex;
  padding-bottom: 75px;
}

.footer-top .col-sm-3>div {
  padding-left: 25%;
  padding-right: 25%;
}

footer>.footer-bottom {
  max-width: 1920px;
}

footer>.footer-bottom>.col-sm-12 {
  display: flex;
}

footer>.footer-bottom .col-sm-12 p:first-child {
  width: 81% !important;
}

footer>.footer-bottom .col-sm-12 p:last-child {
  width: 19%;
  padding-right: 100px;
  color: #000;
}

footer>.footer-bottom .col-sm-12 p:last-child a {
  color: #909090 !important;
  text-decoration: underline;
}

.footer-top>.col-sm-3 ul {
  list-style-type: none;
  padding-left: 0px;
}

.footer-top ul li {
  margin-bottom: 4px;
}

footer>.footer-top>div>img.footer-logo {
  max-width: 300px;
  margin-bottom: 30px;
}

footer .panel.socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

footer .panel.socials a {
  max-height: fit-content;
  background-color: #4bae32;
  padding: 10px;
  height: 45px;
  width: 45px;
  text-align: center;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  transition: 0.3s;
}

footer .panel.socials a:hover {
  background-color: #40982a;
  border-color: #40982a;
}

footer .panel.socials img {
  height: 25px;
  width: auto;
}

footer a {
  transition: 0.3s;
}

footer a:hover {
  color: #909090 !important;
  transition: 0.3s;
}

footer .footer-top .sub-logo {
  max-width: 400px;
  max-width: 400px;
  font-style: italic;
  color: #909090;
}

.owl-nav {
  display: none;
}

.owl-carousel.reviews-grid.owl-loaded.owl-drag {
  display: flex;
  flex-direction: column;
}

button.owl-dot {
  margin: 5px;
}

.owl-carousel .owl-stage {
  display: flex;
}

.review {
  height: 100%;
}

.in-proc-si-vybrat-me .col-sm-12.col-md-6.rasons {
  padding-top: 100px;
  text-align: left;
}

.in-proc-si-vybrat-me .col-sm-12.col-md-6.rasons ol {
  width: 60%;
  min-width: 500px;
  margin-top: 40px;
}

body.in-kontakt .content-wrapper {
  padding-top: 70px;
}

.in-kontakt .contact-form-wrapper,
.in-fotobudka .contact-form-wrapper {
  width: 80%;
  padding: 50px 60px;
  margin: auto;
  border-radius: 40px;
  background-color: #dcefd7;
  /* border: 3px solid #4bae32; */
}

body.in-kontakt h1 {
  margin-top: 0px !important;
}

.in-kontakt .col-sm-12.heading {
  padding-bottom: 40px !important;
}

.in-kontakt .contact-form-wrapper form#contact-form input,
.in-kontakt .contact-form-wrapper form#contact-form select,
.in-kontakt .contact-form-wrapper form#contact-form textarea,
.in-fotobudka .contact-form-wrapper form#contact-form input,
.in-fotobudka .contact-form-wrapper form#contact-form select,
.in-fotobudka .contact-form-wrapper form#contact-form textarea {
  width: 100% !important;
  border: 0px solid #4bae32;
  border-radius: 11px;
  padding: 10px 15px;
}

.in-fotobudka .contact-form-wrapper form#contact-form select,
.in-kontakt .contact-form-wrapper form#contact-form select {
  background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat 95% 50%;
  -webkit-appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #ffffff;
  color: #000000;
}

body.in-kontakt .content-wrapper {
  overflow-x: hidden;
}

.in-kontakt .contact-form-wrapper form#contact-form label,
.in-fotobudka .contact-form-wrapper form#contact-form label {
  margin-top: 20px;
  margin-bottom: 5px;
  width: 100%;
  text-align: center;
  font-weight: 600;
}

form#contact-form .agree {
  display: flex;
  justify-content: center;
  align-items: center;
}

form#contact-form .agree a {
  color: #000;
}

form#contact-form .agree>label.required {
  order: 2;
  padding-left: 10px;
  margin-top: 10px;
  width: fit-content;
  font-weight: 400;
}

form#contact-form .agree>input#contact_form_agree {
  order: 1;
  width: 20px !important;
  height: 20px;
  margin-top: 5px;
}

form#contact-form>.form-group {
  display: flex;
  margin-top: 5px;
  justify-content: center;
}

.in-kontakt .contact-form-wrapper form#contact-form textarea,
.in-fotobudka .contact-form-wrapper form#contact-form textarea {
  height: 130px;
}

body.in-kontakt div.info h2 {
  margin-top: 70px;
}

.contact-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.contact-icons .icon-wrapper {
  /* background-color: #dcefd7; */
  border: 4px solid #4bae32;
  padding: 40px 30px;
  width: 260px;
  border-radius: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  transition: 0.3s;
}

.contact-icons .icon-wrapper img {
  width: 30px;
}

.contact-icons .icon-wrapper a {
  width: 100%;
  text-decoration: none;
  color: black;
}

.contact-icons .icon-wrapper:hover {
  scale: 1.02;
  transition: 0.3s;
  /* background-color: #cfe8c8; */
  cursor: pointer;
}

body.in-kontakt .info>p:first-of-type,
body.in-kontakt .contact-form>p:first-of-type,
body.in-fotobudka .info>p:first-of-type {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

body.in-kontakt .contact-form button,
body.in-fotobudka .contact-form button {
  margin-top: 15px;
  font-size: 18px;
  padding: 10px 30px;
  border-radius: 30px;
  background-color: #4bae32;
  border-color: #4bae32;
}

body.in-kontakt .contact-form button:hover,
body.in-fotobudka .contact-form button:hover {
  background-color: #40982a;
  border-color: #40982a;
}

body.in-proc-si-vybrat-me .marek .photo-wrapper {
  max-width: 750px;
  width: 80%;
  max-height: 750px;
  height: auto;
}

body.in-proc-si-vybrat-me .marek {
  display: flex;
  justify-content: center;
  align-content: flex-start;
  flex-wrap: wrap;
  padding-top: 30px;
}

.in-proc-si-vybrat-me .process-wrapper {
  padding-top: 100px !important;
}

.timeline-heading {
  color: #4bae32;
  margin-bottom: 2rem !important;
  text-align: left;
  /* margin: auto; */
  width: 60%;
  min-width: 500px;
  margin-left: -40px;
}

.timeline {
  position: relative;
  list-style: none;
  padding-left: 40px;
  border-left: 4px solid #4bae32;
  /* margin: auto; */
  width: 60%;
  min-width: 500px;
}

.timeline li {
  position: relative;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  min-height: 95px;
}

.timeline li:last-child {
  margin-bottom: 0px;
}

.timeline-number {
  position: absolute;
  left: -62px;
  background-color: #4bae32;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-weight: bold;
  z-index: 1;
}

.timeline-content {
  padding-left: 15px;
  text-align: left;
  font-size: 18px;
}

.timeline-content strong {
  color: #4bae32;
  font-size: 24px;
  display: block;
  margin-bottom: 0.3rem;
}

.in-proc-si-vybrat-me .rasons strong {
  color: #4bae32;
  font-size: 20px;
  display: block;
  margin-bottom: 0;
}

.in-proc-si-vybrat-me .rasons p {
  font-size: 16px;
  margin-bottom: 1.5rem;
}

.in-proc-si-vybrat-me .row.process-wrapper .photo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.in-proc-si-vybrat-me .process-wrapper .photo img {
  border-radius: 40px;
  width: 90%;
}

.in-proc-si-vybrat-me .process-wrapper .process {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.in-proc-si-vybrat-me .rasons>div {
  width: 60%;
  min-width: 500px;
}

.in-proc-si-vybrat-me .rasons h1 {
  margin-bottom: 2rem !important;
}

.in-fotobudka h1 {
  padding-top: 30px;
}

/* .in-fotobudka .intro .text {
    width: 80%;
    max-width: 1200px;
    margin: auto;
    margin-top: 20px;
} */

.in-fotobudka .row.cenik,
.in-fotobudka .row.poptavka {
  padding-top: 100px;
}

.in-fotobudka .row.doprava-galerie {
  padding-top: 25px;
}

.in-fotobudka .slider-wrapper {
  margin-top: 30px;
}

.in-fotobudka .slider {
  width: 80%;
  margin: auto;
}

body.in-index.modal-open {
  overflow: auto !important;
}

.modal-content {
  max-width: 1100px;
  margin: auto;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  bottom: -5px;
  background: white;
  margin-top: 10px;
  padding: 20px;
}

.modal-content .container {
  max-width: 1100px;
}

.modal-dialog {
  overflow-y: hidden;
}

.modal-body.row .d-flex.flex-column>div {
  text-align: left;
}

.modal-content h1 {
  margin-top: 0px !important;
}

#cookieBtnConfirmAll {
  border-radius: 30px;
  padding: 10px 20px;
  width: 205px;
}

#cookieBtnConfirmAll:hover {
  background-color: #40982a !important;
  border-color: #40982a !important;
}

button#cookieBtnConfirm {
  border-radius: 30px;
  padding: 10px 20px;
  width: 205px;
}

#cookieBtnConfirm:hover {
  background-color: #586067;
  border-color: #586067;
}

.modal-content .btns-cookie {
  display: flex;
  align-items: center;
}

.in-fotobudka .row.intro.hp-info-block {
  padding-top: 70px;
}

.in-fotobudka .row.intro.hp-info-block .text {
  align-content: flex-start !important;
}

.in-fotobudka .cenik-element,
.doprava-galerie-wrapper {
  /* background-color: #dcefd7; */
  border: 4px solid #4bae32;
  border-radius: 40px;
  padding: 50px 60px;
  height: 100%;
}

.in-fotobudka .slider-rtl {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.in-fotobudka .intro.hp-info-block p.strong-green {
  margin-bottom: 30px;
}

.in-fotobudka p.italic {
  font-style: italic;
  margin-top: 20px;
  font-size: 16px;
  color: #4bae32;
  font-weight: 500;
}

.in-fotobudka .row.intro .text h3 {
  font-weight: 700;
  font-size: 1.5rem;
}

.in-fotobudka .cenik-element h3,
.in-fotobudka .doprava-galerie-wrapper h3 {
  /* font-size: 36px;
    color: #4bae32;
    font-weight: 700; */
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0;
}

.in-fotobudka .doprava-galerie-wrapper h3 {
  margin-bottom: 5px;
}

.in-fotobudka .doprava-galerie-wrapper h3:nth-of-type(2) {
  margin-top: 25px;
}

.fotobedna-img img {
  border-radius: 40px;
  max-height: max-content;
  max-width: 80%;
  height: auto;
}

.fotobedna-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.doprava-galerie-wrapper>* {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.poptavka .col-sm-6.contact-form>p {
  max-width: 600px !important;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.in-fotobudka form#contact-form>div:first-child label.required {
  margin-top: 0px;
}

.in-fotobudka .subtitle {
  font-style: italic;
  color: #666;
  margin-bottom: 1em;
}

.in-fotobudka .cenik-element h4 {
  font-size: 1.5em;
  margin-top: 1.5em;
  color: #333;
}

.in-fotobudka .price {
  font-size: 1.4em;
  font-weight: bold;
  /* color: #007700; */
  color: #4bae32;
  margin-top: 0.5em;
}

.in-kontakt .contact-form h2 {
  font-size: 42px;
  font-weight: bold;
}

/*Responzivita*/
@media (max-width: 1920px) {
  body.in-proc-si-vybrat-me .marek .photo-wrapper {
    width: 100%;
  }

  body.in-proc-si-vybrat-me .marek img {
    max-width: 100%;
  }

  body.in-proc-si-vybrat-me .marek {
    align-content: center;
    padding-top: 0px;
    padding-bottom: 80px;
  }

  .in-proc-si-vybrat-me .col-sm-12.col-md-6.rasons {
    padding-top: 70px;
  }

  .in-cenik .col-sm-4.service {
    width: calc(100% / 3 - 30px);
  }

  .footer-top .col-sm-3>div {
    padding-left: 15%;
    padding-right: 15%;
  }

  .in-kontakt .contact-form-wrapper,
  .in-fotobudka .contact-form-wrapper {
    width: 90%;
  }

  body.in-kontakt .content-wrapper {
    padding-top: 50px;
  }
}

@media (max-width: 1550px) {
  .in-fotobudka h1 {
    padding-top: 0px;
  }

  .in-fotobudka h1 {
    padding-top: 0px;
    font-size: 38px !important;
  }

  .in-fotobudka .contact-form-wrapper form#contact-form label[for="contact_form_agree"] {
    text-align: left;
  }
}

@media (max-width: 1439px) and (min-width: 1200px) {
  .slider .slide h1 {
    font-size: 4em;
  }

  .in-index .introduction h2 {
    margin-top: 70px;
  }

  .hp-info-block.block-1,
  .hp-info-block.block-2,
  .hp-info-block.block-3,
  .hp-info-block.block-4,
  .hp-info-block.block-5 {
    margin-top: 70px;
  }

  .introduction>p {
    width: 100%;
    font-size: 18px;
  }

  .hp-info-block .text p {
    font-size: 16px;
  }

  p.strong-green>strong {
    font-size: 21px;
  }

  .hp-info-block .text {
    padding-right: 0px;
  }

  .hp-info-block.reverse .text {
    padding-right: 5%;
    padding-left: 0px;
  }

  .slider-rtl .slide-rtl:nth-child(2),
  .slider-rtl .slide-rtl:nth-child(4) {
    margin-left: 1px;
  }

  .in-index .reviews {
    margin-top: 70px;
  }

  .in-index .reviews-grid {
    margin-top: 50px;
  }

  footer {
    margin-top: 70px;
  }

  footer>.footer-top>div>img.footer-logo {
    max-width: 100%;
  }

  footer>.footer-bottom .col-sm-12 p:last-child {
    padding-right: 0px;
  }

  footer>.footer-top {
    padding-bottom: 40px;
  }

  p.sub-logo,
  img.footer-logo {
    padding-right: 10%;
  }

  .footer-top .col-sm-3:last-child>div {
    padding-right: 0px;
  }

  .in-proc-si-vybrat-me .col-sm-12.col-md-6.rasons {
    padding-top: 40px;
  }

  body:not(.in-index) h1 {
    font-size: 36px;
  }

  .in-proc-si-vybrat-me .rasons h1 {
    margin-bottom: 1.5rem !important;
  }

  .in-proc-si-vybrat-me .rasons p {
    margin-bottom: 1rem;
  }

  .in-proc-si-vybrat-me .process-wrapper {
    padding-top: 70px !important;
  }

  h2 {
    font-size: 32px;
  }

  .timeline-content {
    font-size: 16px;
  }

  .timeline li {
    margin-bottom: 1rem;
  }

  .timeline-content strong {
    font-size: 22px;
  }

  .in-cenik h1,
  .in-portfolio h1 {
    padding-top: 40px;
  }

  .in-portfolio div.menu ul li,
  .in-portfolio .menu ul li.active,
  .in-portfolio .menu ul li:hover {
    padding: 10px 15px;
  }

  .in-portfolio .gallery-item img {
    min-height: 230px;
  }

  .in-cenik .col-sm-4.service {
    width: calc(100% / 2 - 20px);
  }

  .contact-icons .icon-wrapper {
    width: 240px;
  }

  .in-kontakt .contact-form-wrapper,
  .in-fotobudka .contact-form-wrapper {
    padding: 30px 40px;
  }

  body.in-kontakt .info>p:first-of-type,
  body.in-kontakt .contact-form>p:first-of-type,
  body.in-fotobudka .info>p:first-of-type {
    width: 80%;
  }

  body.in-fotobudka .contact-form>p:first-of-type {
    width: 100%;
  }

  .in-kontakt .contact-form h2 {
    font-size: 36px;
  }

  .in-ochrana-osobnich-udaju .content-wrapper {
    padding-top: 40px;
  }

  .in-kontakt .contact-form-wrapper form#contact-form label,
  .in-fotobudka .contact-form-wrapper form#contact-form label {
    text-align: left;
  }

  .in-fotobudka .row.cenik,
  .in-fotobudka .row.poptavka {
    padding-top: 50px;
  }

  .in-fotobudka .cenik-element,
  .doprava-galerie-wrapper {
    padding: 30px 20px;
  }

  .cenik-element p,
  .row.doprava-galerie p {
    font-size: 14px;
  }

  .in-fotobudka .cenik-element h4 {
    font-size: 1.2em;
    margin-top: 1.2em;
  }

  .in-fotobudka .cenik-element h3,
  .in-fotobudka .doprava-galerie-wrapper h3 {
    font-size: 1.8rem;
  }

  .in-fotobudka .contact-form-wrapper {
    width: 100%;
  }

  .poptavka .col-sm-6.contact-form>p {
    padding-left: 20px;
    padding-right: 20px;
  }

  .fotobedna-img img {
    max-width: 90%;
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .slider .slide h1 {
    top: calc(50% + 10px);
    font-size: 3.5em;
    padding: 0px 70px;
  }

  .in-index .introduction h2 {
    margin-top: 70px;
  }

  .introduction>p {
    width: 90%;
    font-size: 18px;
    margin-top: 20px;
  }

  .hp-info-block.block-1,
  .hp-info-block.block-2,
  .hp-info-block.block-3,
  .hp-info-block.block-4,
  .hp-info-block.block-5 {
    margin-top: 70px;
  }

  .hp-info-block {
    flex-wrap: wrap;
  }

  .hp-info-block .photo,
  .hp-info-block .slider-rtl {
    width: 100%;
  }

  .hp-info-block .text {
    width: 100%;
    margin-top: 40px;
    text-align: center;
  }

  .slider-rtl {
    border-radius: 60px;
  }

  .hp-info-block .text p.button-row {
    justify-content: center;
  }

  .hp-info-block.marek .photo {
    width: 45%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .hp-info-block.marek .text {
    width: 55%;
    text-align: left;
    padding-right: 20px;
    margin-top: 0px;
  }

  .marek .text .button-row {
    justify-content: flex-start !important;
  }

  .hp-info-block .text p {
    font-size: 16px;
  }

  h2 {
    font-size: 32px;
  }

  p.strong-green>strong {
    font-size: 20px;
  }

  .hp-info-block .text p.button-row {
    margin-top: 10px;
  }

  .in-index .reviews {
    margin-top: 70px;
  }

  .in-index .reviews-grid {
    margin-top: 40px;
  }

  footer {
    margin-top: 70px;
    padding-top: 70px;
  }

  footer>.footer-top>div>img.footer-logo {
    max-width: 100%;
  }

  footer>.footer-bottom .col-sm-12 p:last-child {
    padding-right: 0px;
  }

  footer>.footer-top {
    padding-bottom: 40px;
  }

  p.sub-logo,
  img.footer-logo {
    padding-right: 10%;
  }

  .footer-top .col-sm-3:last-child>div {
    padding-right: 0px;
  }

  .footer-top .col-sm-3>div {
    padding-left: 10%;
    padding-right: 10%;
  }

  footer .footer-top .sub-logo {
    font-size: 14px;
    padding-right: 0px;
  }

  /* .in-proc-si-vybrat-me .content-wrapper .row>div {
        width: 100%;
    }

    .in-proc-si-vybrat-me .content-wrapper .row:first-child {
        flex-direction: column-reverse;
    } */

  .in-proc-si-vybrat-me .col-sm-12.col-md-6.rasons {
    padding-top: 30px;
  }

  body:not(.in-index) h1 {
    font-size: 38px;
  }

  body.in-proc-si-vybrat-me h1 {
    font-size: 33px;
  }

  .in-proc-si-vybrat-me .rasons h1 {
    margin-bottom: 1rem !important;
  }

  .in-proc-si-vybrat-me .rasons>div {
    min-width: 100% !important;
  }

  .in-proc-si-vybrat-me .process-wrapper {
    padding-top: 70px !important;
  }

  .in-proc-si-vybrat-me .process-wrapper>div {
    width: 100%;
  }

  .in-proc-si-vybrat-me .process-wrapper .process {
    padding-left: 32px;
  }

  .in-proc-si-vybrat-me .process-wrapper .timeline-heading {
    text-align: center;
    margin-left: 0px;
    padding-left: 40px;
  }

  .in-proc-si-vybrat-me .process-wrapper .timeline-content p {
    font-size: 16px;
  }

  .in-proc-si-vybrat-me .process-wrapper .timeline-content {
    text-align: center;
  }

  .in-proc-si-vybrat-me .row.process-wrapper .photo {
    margin-top: 30px;
  }

  .in-cenik h1,
  .in-portfolio h1 {
    padding-top: 30px;
  }

  .in-portfolio div.menu ul {
    flex-wrap: wrap;
  }

  .in-portfolio div.menu ul li,
  .in-portfolio .menu ul li.active,
  .in-portfolio .menu ul li:hover {
    padding: 10px 15px;
  }

  .in-portfolio .gallery-item img {
    min-height: 190px;
  }

  .in-portfolio .gallery img {
    border-radius: 20px;
  }

  .in-cenik .col-sm-4.service {
    width: calc(100% / 2 - 20px);
  }

  .in-ochrana-osobnich-udaju .content-wrapper {
    padding-top: 30px;
  }

  .contact-icons .icon-wrapper {
    padding: 30px 30px;
    width: 205px;
  }

  body.in-kontakt .info>p:first-of-type,
  body.in-kontakt .contact-form>p:first-of-type {
    width: 90%;
  }

  .in-kontakt .contact-form-wrapper {
    padding: 30px 30px;
  }

  body.in-kontakt .content-wrapper {
    padding-top: 30px;
  }

  .in-kontakt .contact-form h2 {
    font-size: 38px;
  }

  body.in-kontakt div.info h2 {
    margin-top: 50px;
  }

  .in-kontakt .contact-form-wrapper,
  .in-fotobudka .contact-form-wrapper {
    border-radius: 30px;
  }

  .in-kontakt .contact-form-wrapper form#contact-form label {
    text-align: left;
  }

  .in-fotobudka .row.intro.hp-info-block {
    flex-direction: column-reverse !important;
  }

  .in-fotobudka .row.intro.hp-info-block .text {
    margin-top: 0px;
  }

  .in-fotobudka .row.intro.hp-info-block {
    padding-top: 40px;
  }

  .in-fotobudka .row.cenik,
  .in-fotobudka .row.poptavka {
    padding-top: 50px;
  }

  .in-fotobudka .row.cenik .col-sm-4.cenik-element-wrapper,
  .in-fotobudka .row.intro.hp-info-block .text {
    width: 80%;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
  }

  .in-fotobudka .row.intro.hp-info-block .slider-rtl {
    width: 80%;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
  }

  .in-fotobudka .row.doprava-galerie {
    padding-top: 0px;
  }

  .in-fotobudka .row.poptavka>div.col-sm-6 {
    width: 100% !important;
  }

  .in-fotobudka .contact-form-wrapper {
    width: 80% !important;
  }

  .in-fotobudka .row.doprava-galerie .col-sm-12 {
    width: 80%;
    margin: auto;
  }

  .in-fotobudka .row.poptavka>div.col-sm-6.fotobedna-img {
    margin-top: 40px;
  }

  .hp-info-block.fotobedna-hp>div {
    width: 50% !important;
  }

  .hp-info-block.fotobedna-hp {
    margin-top: 40px;
  }

  .hp-info-block.fotobedna-hp .fotobedna-hp-text.text {
    padding-left: 0px;
    text-align: left;
  }

  .hp-info-block.fotobedna-hp .fotobedna-hp-text.text p.button-row {
    justify-content: flex-start;
  }

  .col-sm-6.fotobedna-hp-text.text {
    margin-top: 0px;
  }

  .hp-info-block.fotobedna-hp .fotobedna-hp-text.text h3 {
    font-size: 21px;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .in-index .slider {
    border-radius: 40px;
  }

  .in-index .slider .circle {
    width: 90px;
    height: 90px;
  }

  .slider .slide h1 {
    top: calc(50% + 10px);
    font-size: 3em;
    padding: 0px 70px;
  }

  .in-index .introduction h2 {
    margin-top: 50px;
  }

  .introduction>p {
    width: 90%;
    font-size: 18px !important;
    margin-top: 20px !important;
  }

  .hp-info-block {
    flex-wrap: wrap;
  }

  .hp-info-block .photo,
  .hp-info-block .slider-rtl {
    width: 100%;
  }

  .hp-info-block .text {
    width: 100%;
    margin-top: 40px;
    text-align: center;
  }

  .slider-rtl {
    border-radius: 60px;
  }

  .hp-info-block.block-1,
  .hp-info-block.block-2,
  .hp-info-block.block-3,
  .hp-info-block.block-4,
  .hp-info-block.block-5 {
    margin-top: 50px;
  }

  .hp-info-block .text p.button-row {
    justify-content: center;
  }

  p.button-row>a {
    min-width: 200px;
  }

  .hp-info-block .photo {
    width: 60% !important;
    margin: auto;
  }

  .hp-info-block .text p {
    font-size: 16px;
  }

  .hp-info-block.fotobedna-hp {
    display: flex;
    flex-direction: column-reverse;
    margin-top: 50px;
    align-items: center;
  }

  /* .col-sm-6.fotobedna-hp-text.text {
    max-width: 600px;
  } */

  .hp-info-block.fotobedna-hp .fotobedna-hp-text.text h3 {
    font-size: 21px;
  }

  .hp-info-block.fotobedna-hp .fotobedna-hp-text.text p.button-row {
    gap: 15px;
  }

  .in-index .reviews {
    margin-top: 50px;
  }

  .in-index .reviews-grid {
    margin-top: 30px;
  }

  footer {
    margin-top: 70px;
    padding-top: 70px;
  }

  footer>.footer-top {
    flex-wrap: wrap;
  }

  footer>.footer-top>.col-sm-3 {
    width: 50%;
  }

  .footer-top .col-sm-3>div {
    padding-left: 10%;
    padding-right: 10%;
  }

  footer .footer-top .sub-logo,
  footer .footer-top .footer-logo {
    padding-right: 10%;
  }

  .footer-top .col-sm-3:nth-child(3)>div {
    padding-left: 0px;
  }

  footer>.footer-bottom .col-sm-12 p {
    width: 100% !important;
  }

  footer>.footer-bottom>.col-sm-12 {
    flex-wrap: wrap;
  }

  footer>.footer-bottom .col-sm-12 p:first-child {
    margin-bottom: 5px;
  }

  footer>.footer-bottom .col-sm-12 p:last-child {
    padding-right: 0px;
  }

  .in-proc-si-vybrat-me .content-wrapper .row>div {
    width: 100%;
  }

  .in-proc-si-vybrat-me .content-wrapper .row:first-child {
    flex-direction: column-reverse !important;
  }

  .in-proc-si-vybrat-me .rasons>div {
    width: 100%;
    min-width: auto;
    max-width: 800px;
    padding-left: 5%;
    padding-right: 5%;
    margin: auto;
  }

  .in-proc-si-vybrat-me .col-sm-12.col-md-6.rasons {
    padding-top: 50px;
    text-align: center;
  }

  .in-proc-si-vybrat-me .process-wrapper {
    padding-top: 0px !important;
  }

  body.in-proc-si-vybrat-me .marek {
    padding-bottom: 50px;
  }

  body.in-proc-si-vybrat-me .marek img {
    max-width: 85% !important;
  }

  .in-proc-si-vybrat-me .row.process-wrapper .photo {
    margin-top: 30px;
  }

  .in-cenik h1,
  .in-portfolio h1 {
    padding-top: 30px;
  }

  .in-portfolio div.menu ul {
    flex-wrap: wrap;
  }

  .in-portfolio div.menu ul li,
  .in-portfolio .menu ul li.active,
  .in-portfolio .menu ul li:hover {
    padding: 10px 15px;
  }

  .in-portfolio div.menu ul {
    margin-top: 10px;
  }

  .in-portfolio .gallery-item img {
    min-height: 200px;
  }

  .in-cenik .col-sm-4.service {
    width: calc(100% / 2 - 10px);
  }

  .in-cenik .row.service-list {
    gap: 20px;
  }

  .in-cenik .col-sm-4.service {
    padding: 25px 25px;
  }

  .in-ochrana-osobnich-udaju .content-wrapper {
    padding-top: 30px;
  }

  body:not(.in-index) h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  .in-kontakt .content-wrapper .row>div {
    width: 100%;
  }

  .in-kontakt .contact-form h2 {
    font-size: 38px;
  }

  body.in-kontakt .content-wrapper {
    padding-top: 30px;
  }

  body.in-kontakt .info>p:first-of-type,
  body.in-kontakt .contact-form>p:first-of-type,
  body.in-fotobudka .info>p:first-of-type,
  body.in-fotobudka .contact-form>p:first-of-type {
    width: 80%;
  }

  body.in-kontakt div.info h2 {
    margin-top: 50px;
  }

  .in-kontakt .content-wrapper .row>.contact-form {
    margin-top: 50px;
  }

  .in-kontakt .contact-form-wrapper,
  .in-fotobudka .contact-form-wrapper {
    border-radius: 30px;
  }

  .in-fotobudka .row.intro.hp-info-block {
    flex-direction: column-reverse !important;
  }

  .in-fotobudka .row.intro.hp-info-block .text {
    margin-top: 0px;
  }

  .in-fotobudka .row.intro.hp-info-block {
    padding-top: 40px;
  }

  .in-fotobudka .row.cenik,
  .in-fotobudka .row.poptavka {
    padding-top: 50px;
  }

  .in-fotobudka .row.cenik .col-sm-4.cenik-element-wrapper,
  .in-fotobudka .row.intro.hp-info-block .text {
    width: 100%;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
  }

  .in-fotobudka .row.intro.hp-info-block .slider-rtl {
    width: 100%;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
  }

  .in-fotobudka .row.doprava-galerie {
    padding-top: 0px;
  }

  .in-fotobudka .row.poptavka>div.col-sm-6 {
    width: 100% !important;
  }

  .in-fotobudka .contact-form-wrapper {
    width: 100% !important;
  }

  .in-fotobudka .row.doprava-galerie .col-sm-12 {
    width: 100%;
    margin: auto;
  }

  .in-fotobudka .row.poptavka>div.col-sm-6.fotobedna-img {
    margin-top: 40px;
  }

  .in-fotobudka .row.poptavka>div.col-sm-6.fotobedna-img img {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .content-wrapper {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .introduction>p {
    width: 100%;
    font-size: 16px !important;
    margin-top: 20px !important;
  }

  .hp-info-block {
    flex-wrap: wrap;
  }

  .hp-info-block .photo,
  .hp-info-block .slider-rtl {
    width: 100%;
  }

  .hp-info-block .text {
    width: 100%;
    margin-top: 40px;
    text-align: center;
  }

  .slider {
    border-radius: 40px;
  }

  .slider-rtl {
    border-radius: 60px;
  }

  /* .slider .slide {
    background-size: cover !important;
    justify-items: center !important;
    height: 500px;
  }

  .slider img {
    width: auto;
    height: 100%;
  } */

  .slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    overflow: hidden;
    position: relative;
  }

  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .slider .slide h1 {
    font-size: 2.5em;
    padding-left: 40px;
    padding-right: 40px;
    font-weight: 300;
    margin-left: 5px;
  }

  .slider .slide h1 span {
    font-weight: 500;
  }

  .slider button {
    padding: 10px;
    font-size: 50px;
  }

  .slider .slide.long-text h1 span {
    font-size: 0.8em !important;
  }

  .in-index .slider .circle {
    width: 90px;
    height: 90px;
  }

  .in-index .introduction h2 {
    margin-top: 50px;
  }

  h2 {
    font-size: 32px;
  }

  .hp-info-block.block-1,
  .hp-info-block.block-2,
  .hp-info-block.block-3,
  .hp-info-block.block-4,
  .hp-info-block.block-5 {
    margin-top: 50px;
  }

  .slider-rtl {
    border-radius: 40px;
  }

  .hp-info-block .text {
    margin-top: 30px;
    padding: 0px;
  }

  .hp-info-block .text p {
    font-size: 16px;
  }

  p.strong-green>strong {
    font-size: 21px;
    line-height: 1.3;
  }

  .hp-info-block .text p.button-row {
    gap: 20px;
    margin-top: 15px;
    justify-content: center;
  }

  .hp-info-block .text>p>a {
    min-width: 180px;
  }

  .hp-info-block.fotobedna-hp {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    margin-top: 50px;
  }

  .hp-info-block.fotobedna-hp .fotobedna-img {
    width: 80%;
  }

  .in-index .reviews {
    margin-top: 70px;
  }

  .in-index .reviews-grid {
    margin-top: 30px;
  }

  .in-index .reviews-pagination {
    margin-top: 20px;
  }

  body:not(.in-index) h1 {
    font-size: 32px;
  }

  .in-proc-si-vybrat-me .content-wrapper .row>div {
    width: 100%;
  }

  .in-proc-si-vybrat-me .content-wrapper .row:first-child {
    flex-direction: column-reverse !important;
  }

  .in-proc-si-vybrat-me .rasons>div {
    width: 100%;
    min-width: auto;
    max-width: 800px;
    /* padding-left: 5%;
        padding-right: 5%; */
    margin: auto;
  }

  .in-proc-si-vybrat-me .col-sm-12.col-md-6.rasons {
    padding-top: 30px;
    text-align: center;
  }

  .in-proc-si-vybrat-me .process-wrapper {
    padding-top: 0px !important;
  }

  body.in-proc-si-vybrat-me .marek {
    padding-bottom: 50px;
  }

  body.in-proc-si-vybrat-me .marek img {
    max-width: 85% !important;
  }

  .in-proc-si-vybrat-me .row.process-wrapper .photo {
    margin-top: 30px;
  }

  .in-cenik h1,
  .in-portfolio h1 {
    padding-top: 30px;
  }

  .timeline,
  .timeline-heading {
    min-width: auto;
  }

  .in-proc-si-vybrat-me .process-wrapper .photo img {
    border-radius: 40px;
    width: 100%;
  }

  .timeline-heading {
    width: 100%;
    margin-left: 5px;
  }

  .timeline {
    width: 90%;
  }

  .in-proc-si-vybrat-me .rasons h1 {
    margin-bottom: 1rem !important;
  }

  .in-portfolio .gallery img {
    border-radius: 20px;
  }

  .in-portfolio .gallery-item img {
    min-height: 120px;
  }

  .in-portfolio div.menu ul {
    flex-wrap: wrap;
  }

  .in-portfolio div.menu ul li,
  .in-portfolio .menu ul li.active,
  .in-portfolio .menu ul li:hover {
    padding: 7px 12px;
  }

  .in-portfolio div.menu ul {
    margin-top: 10px;
    padding-left: 0px !important;
  }

  .in-portfolio .menu ul li {
    font-size: 14px;
  }

  .in-portfolio .gallery .gallery-item {
    padding: 5px 5px;
  }

  .in-cenik .col-sm-4.service {
    width: 100%;
    padding: 25px 25px;
  }

  .in-cenik .row.service-list {
    gap: 20px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  body.in-kontakt .content-wrapper {
    padding-top: 30px;
  }

  body.in-kontakt .info>p:first-of-type,
  body.in-kontakt .contact-form>p:first-of-type,
  body.in-fotobudka .info>p:first-of-type,
  body.in-fotobudka .contact-form>p:first-of-type {
    width: 90%;
    max-width: 550px;
  }

  .contact-icons .icon-wrapper {
    max-width: calc(100% / 2 - 10px);
  }

  body.in-kontakt div.info h2,
  .in-kontakt .contact-form {
    margin-top: 50px !important;
  }

  .in-kontakt .contact-form h2 {
    font-size: 32px;
  }

  .in-kontakt .contact-form-wrapper,
  .in-fotobudka .contact-form-wrapper {
    width: 100%;
    border-radius: 30px;
    padding: 30px 30px;
  }

  .in-ochrana-osobnich-udaju .content-wrapper {
    padding-top: 30px;
  }

  .in-ochrana-osobnich-udaju h1 {
    margin-bottom: 20px;
  }

  footer {
    margin-top: 70px;
    padding-top: 70px;
    text-align: center;
  }

  footer>.footer-top {
    flex-wrap: wrap;
    padding-bottom: 40px;
  }

  footer>.footer-top>.col-sm-3 {
    width: 100%;
    padding-bottom: 20px;
  }

  .footer-top .col-sm-3>div {
    padding-left: 0px;
    padding-right: 0px;
  }

  .footer-top .sub-logo {
    margin-left: auto;
    margin-right: auto;
  }

  footer .footer-top .sub-logo,
  footer .footer-top .footer-logo {
    padding-right: 0px;
  }

  footer>.footer-bottom .col-sm-12 p,
  footer>.footer-bottom .col-sm-12 p:first-child {
    width: 100% !important;
  }

  footer>.footer-bottom>.col-sm-12 {
    flex-wrap: wrap;
  }

  footer>.footer-bottom .col-sm-12 p:first-child {
    margin-bottom: 5px;
  }

  footer>.footer-bottom .col-sm-12 p:last-child {
    padding-right: 0px;
  }

  footer .panel.socials {
    justify-content: center;
  }

  .in-fotobudka .row.intro.hp-info-block {
    flex-direction: column-reverse !important;
  }

  .in-fotobudka .row.intro.hp-info-block .text {
    margin-top: 0px;
  }

  .in-fotobudka .row.intro.hp-info-block {
    padding-top: 30px;
  }

  .in-fotobudka h1 {
    font-size: 32px !important;
  }

  .in-fotobudka .row.intro.hp-info-block {
    padding-left: 20px;
    padding-right: 20px;
  }

  .in-fotobudka .row.cenik,
  .in-fotobudka .row.poptavka {
    padding-top: 50px;
  }

  .in-fotobudka .row.cenik .col-sm-4.cenik-element-wrapper,
  .in-fotobudka .row.intro.hp-info-block .text {
    width: 100%;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
  }

  .in-fotobudka .row.intro.hp-info-block .slider-rtl {
    width: 100%;
    margin-bottom: 0px;
    margin-left: auto;
    margin-right: auto;
  }

  .in-fotobudka .row.doprava-galerie {
    padding-top: 0px;
  }

  .in-fotobudka .row.poptavka>div.col-sm-6 {
    width: 100% !important;
  }

  .in-fotobudka .contact-form-wrapper {
    width: 100% !important;
  }

  .in-fotobudka .row.doprava-galerie .col-sm-12 {
    width: 100%;
    margin: auto;
  }

  .in-fotobudka .row.poptavka>div.col-sm-6.fotobedna-img {
    margin-top: 40px;
  }

  .in-fotobudka .row.poptavka>div.col-sm-6.fotobedna-img img {
    max-width: 100%;
  }

  .in-fotobudka .cenik-element,
  .doprava-galerie-wrapper {
    padding: 40px 30px;
  }

  form#contact-form .agree>label.required {
    text-align: left !important;
  }
}

@media (max-width: 479px) {
  .in-portfolio .gallery .gallery-item {
    padding: 5px 0px;
  }

  .content-wrapper,
  nav.navbar.mobile>.container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .logo {
    max-width: 130px !important;
  }

  .in-index .content-wrapper {
    margin-top: 0px;
  }

  div#offcanvas {
    border-left: 0px;
  }

  .slider .slide {
    height: 450px;
  }

  nav.navbar.mobile .navbar-toggler-icon {
    width: 35px !important;
    height: 35px !important;
  }

  nav.navbar.mobile button.btn-close {
    width: 25px;
    height: 35px;
    font-size: 25px;
  }

  .hp-info-block .text>p>a {
    min-width: 160px;
  }

  .hp-info-block .text>p>a {
    padding: 7px 10px;
  }

  .hp-info-block .text p.button-row {
    gap: 10px;
  }

  .hp-info-block.fotobedna-hp .fotobedna-img {
    width: 100%;
  }

  .col-sm-6.fotobedna-hp-text.text p {
    margin-bottom: 25px;
  }

  .hp-info-block .text p {
    font-size: 15px;
  }

  .hp-info-block.fotobedna-hp .fotobedna-hp-text.text h3 {
    font-size: 22px;
  }

  .slider .slide.long-text h1 {
    font-size: 2em;
    padding-left: 35px;
    padding-right: 35px;
    margin-left: 1px;
  }

  .in-portfolio div.menu ul li,
  .in-portfolio .menu ul li.active,
  .in-portfolio .menu ul li:hover {
    padding: 5px 10px;
  }

  .in-portfolio div.menu ul li {
    margin-right: 0px;
  }

  .in-portfolio .menu ul li {
    font-size: 13px;
  }

  .contact-icons .icon-wrapper {
    max-width: 100%;
  }

  li span.mobile-small {
    font-size: 12px;
  }

  .in-fotobudka .cenik-element h3,
  .in-fotobudka .doprava-galerie-wrapper h3 {
    font-size: 1.6rem;
  }

  .in-fotobudka .cenik-element,
  .doprava-galerie-wrapper {
    padding: 30px 20px;
  }

  .in-fotobudka .cenik-element h4 {
    font-size: 1.2em;
    margin-top: 1.2em;
  }

  .in-fotobudka h1 {
    font-size: 26px !important;
  }

  .in-fotobudka p.strong-green>strong {
    font-size: 18px;
  }

  #myModalCookie h1 {
    line-height: 1.2;
    font-size: 22px !important;
  }

  .modal-content .container {
    padding: 0px;
  }

  #myModalCookie .form-check-input {
    width: 35px !important;
  }

  .d-flex.gap-3.my-3.cookies-switches {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row;
    gap: 0px !important;
    justify-content: space-between !important;
  }

  .cookies-moznost label {
    margin-top: 3px !important;
  }

  button#cookieBtnConfirm,
  #cookieBtnConfirmAll {
    padding: 5px 10px;
  }

  #myModalCookie .modal-body .btns-cookie {
    gap: 10px !important;
  }
}

.owl-item {
  padding: 1px !important;
}

* {
  scroll-behavior: smooth;
}

#reviews {
  scroll-margin-top: 100px;
}

@media (max-width: 768px) {
  #reviews {
    scroll-margin-top: 70px;
  }
}