/*
Theme Name: Astra Child
Theme URI: https://freshmill.cz/
Template: astra
Author: Fresh Mill studio, tvorba webovych stranek
Author URI: https://freshmill.cz/
Description: 
Tags:
Version: 4.9.0.1741431114
Updated: 2025-03-08 11:51:54

*/

/* VYPIS RODINNYCH DOMU */
.container-rd {
    max-width: 1280px !important;
    margin: 0 auto;
    padding: 0 12px;
}
.rodinne-domy-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* TÅ™i sloupce */
    gap: 20px;
}
.house-item img {
    height: 250px;
    object-fit: cover;
}
.house-item {
  padding: 0;
  border: .5px solid #ccc;
  border-width: .5px;
  border-color: #f5f5f5;
  border-radius: 0px 0px 0px 0px;
  overflow: hidden;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  position: relative;
}
.house-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.house-item .desc {
  padding: 25px;
}
.house-item .desc p {
  display: flex;
  justify-content: space-between; 
   font-size: 15px;
}
.house-item .desc p.price {
    color: #d71920;
    font-weight: 400;
}
.house-item .desc p.price2 {
    color: #000;
    font-weight: 400;
}
.house-item .desc p strong {
    font-weight: 600;
}
.house-item h3 {
  margin: 0 0px 25px 0px;
  padding: 0px 0px 0px 0px;
  color: #000;
  font-family: "Montserrat", Sans-serif;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: left;
}
.house-link {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  height: 100%;
}
.house-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.pagination {
    margin-top: 20px;
    text-align: center;
}
@media (max-width: 1024px) {
    .rodinne-domy-list {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 768px) {
    .rodinne-domy-list {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* FILTR */
.filter-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    padding: 35px;
}
.filter-form .filter-sort-links{
	grid-column: 1/3; 
	justify-self: flex-start;
	display:flex;
	gap:20px;
}
.filter-form .filter-sort-links a{
	color:#d61920;
	font-weight:500;
}
.filter-form .filter-reset{
	grid-column: 3/5; 
	justify-self: flex-end;
}
.filter-form .filter-sort-links a{
	font-weight:500;
	text-decoration:none;
	color:#d61920;
}

.filter-form .filter-sort-links a.filter-favourite{
	
	
}

.filter-form .filter-sort-links a.filter-cheapest:not(.is-active){
	text-decoration:underline;
	color:black;
}
.filter-form .filter-sort-links a.filter-cheapest:not(.is-active):hover{
	text-decoration:none;
	color:#d61920;
}
.filter-form .filter-sort-links a.filter-cheapest.is-active:hover, .filter-form .filter-sort-links a.filter-favourite.is-active:hover{
	text-decoration:none;
	color:#d61920;
}
.filter-form .filter-sort-links a.filter-favourite:not(.is-active){
	text-decoration:none;
	color:#d61920;
}
.filter-form .filter-sort-links a.filter-favourite.inactive{
text-decoration:underline;
	color:black;
}
.filter-form .filter-sort-links a.filter-favourite.inactive:hover{
	text-decoration:none;
	color:#d61920;
}



.filter-form .filter-sort-links a:hover{
	text-decoration:underline;
}
.filter-form fieldset {
    background-color: #f5f5f5;
    border: none;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px 20px;
    position: relative; 
}
.filter-form fieldset:not(:nth-child(4n))::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #ccc;
    right: -10px; 
}
.filter-form fieldset legend {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}
.toggle-pill {
    display: none;
}
.toggle-pill + label {
    cursor: pointer;
    padding: 6px 12px;
    background-color: #ffffff;
    border: 1.5px solid #d61920;
    font-size: 12px;
    font-weight: 600;
    color: #d61920;
    border-radius: 20px;
    text-align: center;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
    height: 40px;
}
.toggle-pill:checked + label {
    background-color: #d61920;
    color: #fff;
}
.filter-reset a {
    text-decoration: underline;
}
.filter-reset a:hover {
    text-decoration: none;
}
@media only screen and (max-width: 1199px) {
    .house-item h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .house-item .desc p {
        font-size: 14px;
    }
}
@media only screen and (max-width: 991px) {
    .house-item h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .house-item .desc p {
        font-size: 13px;
    }
}


/* Základní styl – desktop */
.filter-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    padding: 35px;
}
.filter-form fieldset {
    background-color: #f5f5f5;
    border: none;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px 20px;
    position: relative; 
}
.filter-form fieldset:not(:nth-child(4n))::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #ccc;
    right: -10px; 
}
.filter-form fieldset legend {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}
.toggle-pill {
    display: none;
}
.toggle-pill + label {
    cursor: pointer;
    padding: 6px 12px;
    background-color: #ffffff;
    border: 1.5px solid #d61920;
    font-size: 12px;
    font-weight: 600;
    color: #d61920;
    border-radius: 20px;
    text-align: center;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
    height: 40px;
}
.toggle-pill:checked + label {
    background-color: #d61920;
    color: #fff;
}
.filter-reset a {
    text-decoration: underline;
}
.filter-reset a:hover {
    text-decoration: none;
}

/* RESPONSIVITA */

/* Pod 1199px – z 4 sloupců na 3 */
@media (max-width: 1199px) {
    .filter-form {
        grid-template-columns: repeat(3, 1fr);
        padding: 30px;
        gap: 15px;
    }
    /* Upravíme oddělovací čáry, aby odpovídaly novému počtu sloupců */
    .filter-form fieldset:not(:nth-child(3n))::after {
        right: -10px;
    }


}

/* Pod 991px – 2 sloupce */
@media (max-width: 991px) {
    .filter-form {
        grid-template-columns: repeat(2, 1fr);
        padding: 25px;
        gap: 15px;
    }
    .filter-form fieldset {
        grid-template-columns: repeat(2, 1fr);
    }
    .filter-form fieldset:not(:nth-child(2n))::after {
        right: -10px;
    }
    .filter-form .filter-reset, .filter-form .filter-sort-links{
        grid-column:auto;
    }
	.filter-form fieldset:nth-of-type(2)::after {
    display: none;
}
   


}

/* Pod 768px – přechod na jeden sloupec */
@media (max-width: 768px) {
    .filter-form {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
        gap: 10px;
    }
    .filter-form fieldset {
        grid-template-columns: 1fr 1fr;
        grid-column: 2 span;
    }
    /* Oddělovací čáry již nejsou potřeba */
    .filter-form fieldset::after {
        display: none;
    }
}

/* Pod 575px – drobné úpravy pro lepší čitelnost */
@media (max-width: 575px) {
    .filter-form {
        padding: 15px;
        gap: 10px;
    }
    .toggle-pill + label {
        font-size: 11px;
        padding: 5px 10px;
        height: 35px;
    }
    .filter-form .filter-sort-links{
        flex-direction: column;
        gap:10px;
    }
}

/* Pod 425px – ještě kompaktnější vzhled */
@media (max-width: 425px) {
    .filter-form {
        padding: 10px;
        gap: 8px;
    }
    .filter-form fieldset legend {
        font-size: 14px;
    }
    .toggle-pill + label {
        font-size: 10px;
        padding: 4px 8px;
        height: 30px;
    }
    .filter-form fieldset {
        grid-template-columns: 1fr;
    }
}

/* SKRYT ZOBRAZIT FILTR */
.toggle-filter {
    display: none;
}
@media (max-width: 768px) {
    .filter-form {
        display: none; 
    }
    .filter-form.active {
        display: grid; 
    }
    .toggle-filter {
        display: block;
        width: 100%;
        margin-bottom: 10px;
        padding: 10px;
        background-color: #d61920;
        color: #fff;
        border: none;
        font-size: 16px;
        cursor: pointer;
    }
}

/*--------------------------------------------------------------
# DETAIL DOMU
--------------------------------------------------------------*/
/* BREADCRUMBS */
.breadcrumbs {
    font-size: 14px;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px; 
}
.breadcrumbs a {
    color: #666;
    text-decoration: underline;
}
.breadcrumbs a:hover {
    text-decoration: none;
}
.breadcrumbs span {
    font-weight: bold;
    color: #d61920;
}
.breadcrumb-separator {
    width: 16px;  
    height: auto;
    margin: 0 5px; 
}
.breadimg nav.breadcrumbs {
    display: flex;
    justify-content: center;
}
.breadimg nav.breadcrumbs a {
    color: #fff;
    text-decoration: underline;
}
.breadimg nav.breadcrumbs a:hover {
    text-decoration: none;
}
.breadimg nav.breadcrumbs span {
    color: #fff;
}

.lb-number {
    display: none !important;
}
/* POPIS DOMU */
.single-house {
    max-width: 1280px;
    margin: 0 auto;
}
.house-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.header-title h1 {
    font-size: 35px;
    padding-bottom: 15px;
}
.house-left {
    flex: 1 1 60%;
}
.house-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.house-gallery a {
    display: block;
    width: 80px;
}
.house-gallery img {
    width: 100%;
    border-radius: 5px;
    transition: transform 0.2s ease-in-out;
}

.house-gallery img:hover {
    transform: scale(1.1);
}

/* POPIS DOMU */
.house-description {
    margin-top: 20px;
}
.house-description h3 {
    font-weight: 700;
    font-size: 25px;
    padding-bottom: 10px;
    padding-top: 30px;
}
.house-description p {
    font-size: 15px;
    line-height: 2.0;
    font-weight: 400;
}
.house-description p strong {
    font-weight: 600;
}
figure.wp-block-gallery {
    margin-top: 15px;
}
figure.wp-block-gallery img {
    border: 1px solid #ccc;
}


/* POPTAVKA DOMU */
.house-contact h3 {
    font-weight: 700;
    font-size: 25px;
    padding-bottom: 10px;
    padding-top: 30px;
}
.formular {
    background-color: #f5f5f5;
    padding: 40px;
}
  .wpcf7 form.sent .wpcf7-response-output {
      background-color: #20201e;
      border-color: #20201e;
      color: #fff;
      padding: 15px;
      font-weight: 700;
  }
  .item-form .cta p {
      margin-bottom: 0
  }
  .buttonred {
      border: 2px solid #fff;
      background-color: #fff;
      border-radius: 0;
      color: #000;
      padding: 0 30px;
      line-height: 5em;
      height: 5em;
      overflow: hidden;
      cursor: pointer;
      text-transform: uppercase;
      font-family: 'Readex Pro', sans-serif;
      font-size: 15px;
      font-weight: 500;
      transition-property: all;
      transition-duration: 600ms;
      transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
    width: 100%;
  }
  .buttonred:hover {
    background-color: #e53e2b;
    border: 2px solid #e53e2b;
    color: #fff;
      transition: .5s ease-in;
  }
  .wpcf7 .wpcf7-validation-errors,.wpcf7 .wpcf7-acceptance-missing {
      border: 5px solid red;
      margin-top: -30px;
  }
  .wpcf7 span.wpcf7-not-valid-tip {
    font-family: 'Readex Pro', sans-serif;
    background-color: #ff0000;
    color: #ffffff;
    font-size: 12px;
    padding: 5px;
  }
  .wpcf7 .wpcf7-mail-sent-ok {
      border: 5px solid #fff;
      margin-top: -30px;
  }
  div.wpcf7-response-output {
      margin: 2em .5em 1em;
      padding: 1em;
      font-size: 14px;
  }
  .wpcf7-form-control.wpcf7-text {
  border: 1px solid #ccc;
  background-color: #ffffff;
  height: 60px;
  font-weight: 700;
  width: 100%;
  padding-left: 25px;
  font-size: 14px;
  margin-top: 5px;
  border-radius: 0;
  }
  .wpcf7-form-control.wpcf7-select {
  border: 1px solid #ccc;
  background-color: #fff;
  height: 60px;
  font-weight: 700;
  width: 100%;
  padding-left: 25px;
  font-size: 14px;
  margin-top: 5px;
  border-radius: 0;
  }
  .wpcf7-form-control {
      margin-top: 15px
  }
  
  .wpcf7-form-control.wpcf7-textarea {
  border: 1px solid #ccc;
  background-color: #ffff;
  height: 180px;
  font-weight: 700;
  width: 100%;
  padding-left: 25px;
  height: 100px;
  font-size: 14px;
  border-radius: 0;
  margin-top: 5px;
  }
  
  .wpcf7-form-control.wpcf7-text.wpcf7-validates-as-tel {
  border: 1px solid #ccc;
  background-color: #fff;
  height: 60px;
  font-weight: 700;
  width: 100%;
  padding-left: 25px;
  font-size: 14px;
  margin-top: 5px;
  border-radius: 0;
  }
  
  .wpcf7 :focus {
      color: #000;
      background-color: #ffffff!important;
      outline: 0;
      border: 2px solid #fff!important;
  }
  
  .wpcf7-form-control.wpcf7-number {
  border: 2px solid #fff;
    background-color: #efefef;
    height: 60px;
    font-family: 'Exo', sans-serif;
      font-weight: 700;
    width: 100%;
    padding-left: 25px;
    font-size: 14px;
    margin-top: 15px;
    border-radius: 8px
  }
  .wpcf7-form-control-wrap.yourmessage:before {
      width: 0rem!important;
      position: relative
  }
  .wpcf7-form-control-wrap.your-name:before {
      width: 0rem!important;
      position: relative
  }
  .wpcf7-form-control-wrap.last-name:before {
      width: 0rem!important
  }
  .wpcf7-form-control-wrap.phone-number:before {
      width: 0rem!important
  }
  .wpcf7-form-control-wrap.youremail:before {
      width: 0rem!important
  }
  .wpcf7 form.invalid .wpcf7-response-output,.wpcf7 form.unaccepted .wpcf7-response-output {
      background-color: #ca0e0eb3;
      border: 2px solid #ca0e0e;
      padding-top: 15px;
      padding-bottom: 15px;
      color: #fff;
      font-family: 'Readex Pro',sans-serif;
      font-size: 15px;
      font-weight: 700
  }
  ::-webkit-input-placeholder {
      color: #000000!important;
      opacity: 1
  }
  :-moz-placeholder {
      color: #000000!important;
      opacity: 1
  }
  ::-moz-placeholder {
      color: #000000!important;
      opacity: 1
  }
  :-ms-input-placeholder {
      color: #000000!important;
      opacity: 1
  }
  .ochrana-os p {
      color: #000000;
  }
  .ochrana-os p a {
      color: #e53e2b;
      text-decoration: underline
  }
  .ochrana-os p a:hover {
    color: #000;
  }
  .cf7-custom-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
}
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-note {
    font-style: italic;
    color: #666;
}
.cta input[type="submit"] {
    background-color: #d10000;
    color: #fff;
    padding: 20px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}
.cta input[type="submit"]:hover {
    background-color: #b30000;
}
/* Responzivní úpravy */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}


.house-right {
    flex: 1 1 35%;
    background: #ffffff;
    padding: 20px;
    border-radius: 0;
    margin-top: 110px;
}
.house-right h1 {
    font-size: 24px;
    margin-bottom: 15px;
}
.house-info {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.house-info th,
.house-info td {
    padding: 10px;
    border: 1px solid #f5f5f5;
}
.house-info th {
    text-align: left;
    font-weight: 400;
    background: #ffffff;
    font-size: 15px;
}
.house-info td {
    font-weight: 600;
}

/* TABULKA S CENAMI */
.house-prices {
    background-color: #f5f5f5;
border: none;
    padding: 15px;
    margin-top: 20px;
    width: 100%;
}
.house-prices th, .house-prices td {
    padding: 10px;
    text-align: left;
    border: none;
}
.house-prices .price-note td {
    font-size: 14px;
    text-align: left;
    line-height: 1.5;
}
.house-prices th {
font-weight: 400;
}
.house-prices td {
font-weight: 600;
}
.house-prices tr.price {
    color: #d61920;
}


.btn-poptat {
    display: block;
    text-align: center;
    padding: 12px;
    background: #D61920;
    text-transform: uppercase !important;
    text-decoration: none;
    border-radius: 0;
    font-size: 16px;
    margin: 10px 0;
    transition: background 0.3s ease-in-out;
    color: #fff !important;
    font-weight: 600;
}
.btn-poptat:hover {
    background: #bd0f16;
}
.btn-download {
    display: block;
    text-align: center;
    padding: 12px;
    color: #D61920!important;
    text-transform: uppercase !important;
    text-decoration: underline;
    border-radius: 0;
    font-size: 16px;
    margin: 10px 0;
    transition: background 0.3s ease-in-out;
    background: #fff !important;
    font-weight: 600;
}
.btn-download:hover {
    color: #bd0f16!important;
	text-decoration:none;
}
.btn-download i{
	margin-right:10px;
}
.whyus {
    padding-top: 20px;
}
.whyus h4 {
    font-weight: 700;
}
.why-us {
    list-style: none;
    padding: 0;
}
.why-us li {
    padding: 5px 0;
    font-size: 16px;
}
ul.why-us {
    margin-left: 0 !important;
}
@media (max-width: 1024px) {
    .house-wrapper {
        flex-direction: column;
    }
    .house-left,
    .house-right {
        flex: 1 1 100%;
    }
}


/* GALERIE */
.house-main-image {
    position: relative;
    width: 100%;
    max-width: 800px; 
    overflow: hidden;
}
.main-slider {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
.slick-slider {
    max-width: 800px !important; /* nebo 100%, pokud chceš full width */
    margin: 0 auto; /* zachová zarovnání na střed, nebo změň na 0, pokud chceš na celou šířku */
}
.main-slider img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
}
.slider-item {
    position: relative; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.sale-label {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    display: block;
    background: #fff;
    line-height: 30px;
    font-size: 15px;
    height: 30px;
    width: 114px;
    color: #e30413;
    text-align: center;
    font-weight: 700;
    position: absolute;
    left: -29px;
    top: 13px;
    z-index: 10;
    text-transform: uppercase;
    overflow: hidden;
}


/* Šipky */
.house-main-image .slick-prev, 
.house-main-image .slick-next {
    background: transparent;
    color: #000;
    border: none;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.house-main-image .slick-prev {
    left: 30px;
}

.house-main-image .slick-next {
    right: 30px;
}

.house-main-image .slick-prev:hover, 
.house-main-image .slick-next:hover {
    background: transparent;
}
.slick-next:before, .slick-prev:before {
    font-size: 35px;
}
.slick-next:before, .slick-prev:before {
    display: none;
}
.custom-arrow {
    background-color: #ffffff66 !important;
    border: none;                
    border-radius: 50%;         
    width: 40px;                 
    height: 40px;  
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
}
.custom-arrow img {
    width: auto;!i;!;
    height: 18px;
}
.slick-prev.custom-arrow img {
    transform: rotate(180deg);    /* otočení šipky pro tlačítko previous */
}
.custom-arrow:hover {
    background-color: #ffffffa3 !important;
}
/* Miniaturní náhledy */
.gallery-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}
/* Miniaturní náhledy */
.gallery-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.gallery-thumbnails .thumb {
    width: 80px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s;
}

.gallery-thumbnails .thumb img {
    width: 100%;
    border-radius: 5px;
}

.gallery-thumbnails .thumb:hover {
    border: 2px solid #0073e6;
}

/* Galerie náhledů s horizontálním scrollbarem */
.gallery-thumbnails {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 0;
    width: 100%;
    max-width: 800px;
    scrollbar-width: thin; /* Firefox */
    justify-content: flex-start;
}
/* Styl scrollbarů pro Webkit (Chrome, Safari) */
.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}
.gallery-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
.gallery-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.gallery-thumbnails .thumb {
    flex: 0 0 auto;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}
.gallery-thumbnails .thumb:hover {
    transform: scale(1.05);
}
@media only screen and (max-width: 1199px) {
    .house-right {
        margin-top: 0;
    }
}
@media only screen and (max-width: 991px) {
    .header-title h1 {
        font-size: 30px;
    }
    .house-description h3 {
        padding-top: 5px;
        font-size: 20px;
    }
    .house-description p {
        font-size: 14px;
    }
    .house-right {
        padding: 0;
    }
    .whyus h4 {
        font-size: 20px;
        text-align: center;
    }
    .why-us li {
        font-size: 14px;
        text-align: center;
    }
}
@media only screen and (max-width: 768px) {
    .main-slider {
    width: 100%;
    max-width: auto;
    margin: 0 auto;
}
.slick-slider {
    max-width: auto !important; /* nebo 100%, pokud chceš full width */
    margin: 0 auto; /* zachová zarovnání na střed, nebo změň na 0, pokud chceš na celou šířku */
    }
    .house-left, .house-right {
        width: 100%;
    }
    .house-description {
        width: 100%;
    }
    .header-title h1 {
        font-size: 25px;
    }
}
@media only screen and (max-width: 575px) {
    .house-description h3 {
        font-size: 18px;
    }
    .house-info th, .house-info td {
        font-size: 14px;
    }
    .house-prices td, .house-prices th {
        font-size: 14px;
    }
    .btn-poptat {
        font-size: 13px;
    }
}
@media only screen and (max-width: 425px) {
    .house-description h3 {
        font-size: 15px;
    }
    .header-title h1 {
        font-size: 20px;
    }
    .house-gallery {
        margin-top: 0;
    }
    .house-description {
        margin-top: 5px;
    }
    .house-description p {
        font-size: 13px;
    }
    .custom-arrow {
    background-color: #ffffff66 !important;
    border: none;                
    border-radius: 50%;         
    width: 30px;                 
    height: 30px;  
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
}
.custom-arrow img {
    width: auto;
    height: 15px;
    }
}

/*--------------------------------------------------------------
# LOGIN WORDPRESS
--------------------------------------------------------------*/
body.login {
    background-color: #fff;
    background-repeat: no-repeat;
    background-attachment:fixed;
    background-position:center;
  }
  #login h1 a {
    background-image: url("/wp-content/uploads/2021/02/Screenshot_6.png");
    background-size: 250px;
    width: auto;
  }
  .login form{
    box-shadow:none;
    padding:20px;
  }
  #login {
    background: #ffffff;
    margin: 50px auto;
    padding: 40px 20px;
    width: 400px;
    border-radius: 0;
      border: 2px solid #f5f5f5;
  }
  .login label {
    font-weight: 700;
    color: #000;
    font-size: 14px;
  }
  .login form .forgetmenot{
    float:none;
  }
  #login form p.submit{
    margin-top:15px;
  }
  .login.wp-core-ui .button-primary {
    background: #da2026;
    border-color:#da2026;
    box-shadow: 0 1px 0 #da2026;
    color: #fff;
    text-shadow: none;
    float: none;
    clear: both;
    display: block;
    width: 100%;
    padding: 7px;
    height: auto;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 500;
  }
  .login.wp-core-ui .button-primary:hover {
    background: #000000;
    border-color:#000000;
    box-shadow: 0 1px 0 #000000;
    color: #fff;
    transition: 1s;
  }
  .login form {
      border: none;
  }
  .login form .input, .login form input[type=checkbox], .login input[type=text] {
      background: #ffffff;
  }
  .login form .input, .login input[type=password], .login input[type=text] {
      font-size: 24px;
      line-height: 1.33333333;
      width: 100%;
      border-width: .0625rem;
      padding: .1875rem .3125rem;
      margin: 0 6px 16px 0;
      min-height: 40px;
      max-height: none;
      border: 2px solid #000;
      border-radius: 3px;
  }
  p#backtoblog {
    display: none;
  }
  .privacy-policy-page-link a {
      font-size: 16px;
      color: #38b48f;
      font-weight: 400;
  }
  .login #nav a {
    font-weight: 500;
    text-decoration: none;
    color: #000;
  }
  .login #nav a:hover {
    color: #da2026;
  }


/*--------------------------------------------------------------
# FOOTER
--------------------------------------------------------------*/
/* Footer - Rozdělení do dvou sloupců */
.footer-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 20px;
    gap: 20px;
}

/* Levý sloupec */
.footer-left {
    flex: 1 1 45%;
    max-width: 45%;
}

.footer-left h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.footer-left p {
    font-size: 16px;
    margin-bottom: 5px;
}

.footer-left a {
    color: #0073e6;
    text-decoration: none;
}

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

/* Odkazy */
.footer-links {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.footer-links li {
    margin-bottom: 5px;
}

.footer-links a {
    text-decoration: none;
    color: #000;
}

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

/* Pravý sloupec */
.footer-right {
    flex: 1 1 50%;
    max-width: 50%;
}

/* Responsivita */
@media (max-width: 768px) {
    .footer-wrapper {
        flex-direction: column;
    }
    
    .footer-left, .footer-right {
        max-width: 100%;
    }
}



/*--------------------------------------------------------------
# OTHER
--------------------------------------------------------------*/
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1280px !important;
}
#content.site-content {
    background-color: #fff;
}


.slider-item {
    position: relative; /* Umožní absolutní pozicování štítku uvnitř obrázku */
    display: flex;
    align-items: center;
    justify-content: center;
}

.sale-label {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    display: block;
    background: #fff;
    line-height: 30px;
    font-size: 15px;
    height: 30px;
    width: 114px;
    color: #e30413;
    text-align: center;
    font-weight: 700;
    position: absolute;
    left: -29px;
    top: 13px;
    z-index: 10;
    text-transform: uppercase;
    overflow: hidden;
}
