/* ########################################################################## */
/* ELEMENT */
/* ########################################################################## */

body.element .content_wrapper {
    padding-bottom: 0;
}

body.element .container-footer {
    margin-top: 0;
}

.container-component.element_detail main {
    margin-top: 0;
    margin-bottom: 0;
}

iframe #map {
    filter: grayscale(1) !important;
}

#element_detail b,
#element_detail strong {
    font-weight: 600;
}

#element_wrap {
    width: 100%;
    min-height: calc(100vh - 360px);
    display: flex;
}

#element_wrap .element_block {
    display: flex;
}

#element_wrap .width-50 {
    width: 50%;
}

#element_wrap .element_block.element_map {
    width: 50%;
    margin-left: 0;
    /*    width: calc(50% + 70px);
        margin-left: -70px;*/
    height: 100vh;
}

#element_wrap .element_block.element_content {
    padding: 50px 0 50px 50px;
    flex-direction: column;
}

.map_sticked #element_wrap .element_block.element_content {
    margin-left: 50%;
}

/* Plovouci mapa */

#element_wrap .element_block.element_map {
    position: fixed;
    left: 0;
    bottom: 0;
}

#element_wrap .element_block.element_map #element_map {
    width: 100%;
    height: 100%;
}

.map_sticked #element_wrap .element_block.element_map {
    top: 0 !important;
}

#element_wrap .element_block.element_content {
    margin-left: 50%;
}

#element_wrap .element_block .main_img {
    max-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#element_wrap .element_block .info_heading {
    padding: 25px 0;
}

#element_wrap .element_block .info_heading * {
    font-family: 'Plus Jakarta Sans', 'Arial', 'Helvetica', sans-serif;
    color: #062D5E;
}

#element_wrap .element_block .info_heading_typ {
    font-size: 12px;
    font-weight: 700;
    color: #000;
    opacity: .3;
    text-transform: uppercase;
}

#element_wrap .element_block .heading_line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

@media(max-width: 768px) {
    #element_wrap .element_block .heading_line {
        flex-direction: column;
        margin-bottom: 2rem;
    }
}

#element_wrap .element_block .info_desc {
    text-align: justify;
}

#element_wrap .element_block h1 {
    font-size: 50px;
    font-weight: 800;
    margin: 0.5rem 0 1rem 0;

    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

#element_wrap .element_block .info_heading_location {
    font-size: 14px;
    font-weight: 500;
    display: none;
}

#element_wrap .element_block .item_price {
    display: flex;
    align-items: flex-start;
    margin: 15px 0 40px 0;
}

#element_wrap .element_block .item_price .discount_block {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
}

#element_wrap .element_block .item_price .info_heading_price {
    flex: 1;
    margin: 0;
}

#element_wrap .element_block .item_price .info_heading_price .price_value {
    display: flex;
    align-items: center;
}

#element_wrap .element_block .item_price .info_heading_price .price_value_main {
    font-size: 38px;
    font-weight: 800;
    color: #D2091E;
}

/* #element_wrap .element_block .item_price .price_advert_state {
    padding: 9px 30px;
    margin-left: 15px;
    position: relative;
    overflow: hidden;
    background-color: #D2091E;

    border-radius: 24px;
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
} */

#element_wrap .element_block .item_price .price_advert_state {
    padding: 9px 30px;
    margin-left: 10px;
    position: relative;
    overflow: hidden;
    background-color: #D2091E;
}

#element_wrap .element_block .item_price .price_advert_state *,
#element_wrap .element_block .item_price .price_advert_state_text {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* #element_wrap .element_block .item_price .price_advert_state.type_1 {
    background-color: #0D438C;
}

#element_wrap .element_block .item_price .price_advert_state.type_2 {
    background-color: #1590D4;
} */

#element_wrap .element_block .item_price .price_advert_state:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: .1;
    z-index: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-image: url(../images/btn_bg.png);
}

#element_wrap .element_block .item_price .price_advert_state.type_1:before {
    opacity: .2;
}

#element_wrap .element_block .item_price .price_advert_state:before {
    display: none;
}

@media(max-width: 768px) {
    #element_wrap .element_block .item_price .info_heading_price .price_value {
        flex-direction: column;
        align-items: flex-start;
    }

    #element_wrap .element_block .item_price .price_advert_state {
        margin: 0 0 15px 0;
        order: -1;
    }
}

#element_wrap .element_block .item_price .info_heading_price>.price_note {
    margin-top: 5px;
    display: block;
    color: #D2091C;
}

#element_wrap .element_block .item_price .span_zlevneno {
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 9px 30px;
    margin-right: 0;
    margin-bottom: 6px;
    background-color: #D2091E;
}

#element_wrap .element_block .item_price .price_zlevneno {
    font-size: 12px;
    color: #9A9A9A;
    font-weight: 800;
    text-decoration: line-through;
}

#element_wrap .element_block .info_heading_price {
    font-size: 38px;
    font-weight: 800;
    color: #D2091E;
    margin: 10px 0 40px 0;

    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

/* Stitek */

.penb_badge {
    display: flex;
    padding: 4px 12px;
    margin-right: 10px;
    flex-direction: row;
    -webkit-box-align: center;
    align-items: center;
    gap: 12px;
    border-radius: 4px;
    position: relative;
    color: #000 !important;
    line-height: 25px;
    font-size: 12px;
    font-weight: 700;
    background-color: #E31E24;
}

.penb_badge:after {
    content: '';
    width: 25px;
    height: 25px;
    position: absolute;
    border-radius: 4px;
    top: 4px;
    transform: rotate(45deg);
    right: -10px;
    z-index: -1;
    background-color: inherit;
}

.penb_badge.type_a {
    color: #fff !important;
    background-color: #009846;
}

.penb_badge.type_b {
    color: #fff !important;
    background-color: #54AF3A;
}

.penb_badge.type_c {
    color: #000 !important;
    background-color: #C7D30A;
}

.penb_badge.type_d {
    color: #000 !important;
    background-color: #FFED00;
}

.penb_badge.type_e {
    color: #000 !important;
    background-color: #FBBA00;
}

.penb_badge.type_f {
    color: #fff !important;
    background-color: #EC691F;
}

.penb_badge.type_g {
    color: #fff !important;
    background-color: #E31E24;
}

@media (min-width: 1025px) and (max-width: 1199px) {
    #element_wrap .element_block .item_price {
        flex-direction: column;
    }

    #element_wrap .element_block .item_price .discount_block {
        align-items: flex-start;
        margin-top: 15px;
    }
}

@media (max-width: 640px) {
    #element_wrap .element_block .item_price {
        flex-direction: column;
    }

    #element_wrap .element_block .item_price .discount_block {
        align-items: flex-start;
        margin-top: 15px;
    }
}

#element_wrap .element_block .info_props {
    margin-top: 40px;
}

#element_wrap .element_block .elem-props-wrap {
    margin-bottom: 1.5rem;
}

#element_wrap .element_block .elem-props-wrap h3 {
    margin: 0 0 .5rem 0;
    font-size: 20px;
    color: #000;
    opacity: .4;
}

#element_wrap .element_block .elem_property_table td {
    font-size: 16px;
}

#element_wrap .element_block .elem_property_table td.prop_name {
    padding-left: 0;
    text-align: left;
    font-weight: 700;
}

#element_wrap .element_block .elem_property_table td.prop_value {
    padding-right: 0;
    text-align: right;
}

@media (max-width: 1024px) {
    #element_wrap {
        flex-direction: column;
    }

    #element_wrap .element_block {
        width: 100% !important;
    }

    #element_wrap .element_block.element_content {
        order: -1;
        padding-left: 0;
        padding-right: 0;
    }

    #element_wrap .element_block.element_map {
        width: calc(100% + 140px) !important;
        margin-left: -70px;
        margin-right: -70px;
        flex-direction: column;
    }

    #element_wrap .element_block.element_map,
    #element_wrap .element_block.element_map>iframe {
        min-height: 500px;
    }

    /* Vynuceni pozic mapy */
    #element_wrap .element_block.element_map {
        position: relative;
        top: 0 !important;
        bottom: 0 !important;
        height: 500px !important;
    }

    .map_sticked #element_wrap .element_block.element_content,
    #element_wrap .element_block.element_content {
        margin-left: 0;
    }
}

@media (max-width: 840px) {
    #element_wrap .element_block.element_map {
        width: calc(100% + 80px) !important;
        margin-left: -40px;
        margin-right: -40px;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    #element_wrap .element_block .elem-props-wrap.not_inline .elem_property_table tr {
        display: flex;
        flex-direction: column;
    }

    #element_wrap .element_block .elem-props-wrap.not_inline .elem_property_table tr td {
        width: 100%;
        text-align: left;
        padding-left: 0;
    }

    #element_wrap .element_block .elem-props-wrap.not_inline .elem_property_table .prop_name {
        border-bottom: none;
    }
}

/* IMAGES */

#element_wrap .element_block .element_images {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
}

#element_wrap .element_block .element_video {
    overflow: hidden;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
}

#element_wrap .element_block .element_video video {
    display: block;
}

#element_wrap .element_block .element_images a,
#element_wrap .element_block .element_images div.subimage {
    width: calc(100% / 3 - 12px);
    margin: 6px;
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#element_wrap .element_block .element_images a img {
    height: 100%;
    width: auto;
    max-width: 200%;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

#element_wrap .element_block .element_images a:hover img {
    /*height: 120%;*/
    -webkit-transform: translate(-50%, -50%) scale(1.2);
    -moz-transform: translate(-50%, -50%) scale(1.2);
    -ms-transform: translate(-50%, -50%) scale(1.2);
    -o-transform: translate(-50%, -50%) scale(1.2);
    transform: translate(-50%, -50%) scale(1.2);

}

.lb-container {
    padding: 0;
}

@media (min-width: 1025px) and (max-width: 1199px) {
    #element_wrap .element_block .element_images a {
        width: calc(100% / 2 - 12px);
    }
}

@media (max-width: 640px) {
    #element_wrap .element_block .element_images a {
        width: calc(100% / 2 - 12px);
    }
}

@media (max-width: 480px) {
    #element_wrap .element_block .element_images a {
        width: calc(100% - 12px);
    }
}

/* ########################################################################## */
/* ELEMHP */
/* ########################################################################## */

.main_bottom {
    margin-top: 0 !important;
}

.elemhp_main {
    width: 100%;
    margin-top: 70px;
    margin-bottom: 30px;
}

.elemhp_main .elemhp_wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
}

div[itemprop="articleBody"] .heading_wrap>h2,
.elemhp_main .elemhp_wrap .heading_wrap>h2,
.elements_heading .heading_wrap>h1 {
    font-size: 50px;
    margin-bottom: 0;
    margin-right: 40px;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

div[itemprop="articleBody"] .heading_wrap,
.elemhp_main .elemhp_wrap .heading_wrap,
.elements_heading .heading_wrap {
    display: flex;
    align-items: flex-end;
    margin-bottom: 32px;
}

div[itemprop="articleBody"] .heading_wrap:after,
.elemhp_main .elemhp_wrap .heading_wrap:after,
.elements_heading .heading_wrap:after {
    content: "";
    width: 100%;
    height: 3px;
    display: block;
    flex: 1;
    margin-bottom: 13px;
    background: #E5E5E5;
}

@media (max-width: 1025px) {

    div[itemprop="articleBody"] .heading_wrap>h2,
    .elemhp_main .elemhp_wrap .heading_wrap>h2,
    .elements_heading .heading_wrap>h1 {
        font-size: 44px;
    }
}

@media (max-width: 840px) {

    div[itemprop="articleBody"] .heading_wrap,
    .elemhp_main .elemhp_wrap .heading_wrap,
    .elements_heading .heading_wrap {
        margin-bottom: 12px;
    }


    div[itemprop="articleBody"] .heading_wrap>h2,
    .elemhp_main .elemhp_wrap .heading_wrap>h2,
    .elements_heading .heading_wrap>h1 {
        font-size: 38px;
    }
}

/*div[itemprop="articleBody"] .heading_wrap > h2,
.elemhp_main .elemhp_wrap .heading_wrap > h2,
.elements_heading .heading_wrap > h1 {
    display: flex;
    align-items: flex-end;
    margin-bottom: 32px;
    margin-bottom: 57px;
    width: 100%;
    overflow: hidden;
    min-width: 100px;
}

div[itemprop="articleBody"] .heading_wrap > h2:after,
.elemhp_main .elemhp_wrap .heading_wrap > h2:after,
.elements_heading .heading_wrap > h1:after {
    content: '';
    width: 100%;
    height: 3px;
    flex: 1;
    margin-left: 40px;
    margin-bottom: 13px;
    background-color: #E5E5E5;
}*/

.element_tiles_wrap {
    width: calc(100% + 50px);
    display: flex;
    flex-wrap: wrap;
    margin: 0 -25px;
}

.element_tiles_wrap .element_tile {
    width: calc(100% / 3 - 50px);
    margin: 25px;
    display: flex;
    aspect-ratio: 4 / 3;
    position: relative;
}

.element_tiles_wrap .element_tile .tile_image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

.element_tiles_wrap .element_tile .tile_image img {
    height: 100%;
    width: auto;
    max-width: 200%;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

.element_tiles_wrap .element_tile:hover img {
    height: 120%;
    max-width: 240%;
}

.element_tiles_wrap .element_tile .tile_inner {
    width: 100%;
    display: flex;
    flex: 1;
    flex-direction: column;
    z-index: 1;
}

.element_tiles_wrap .element_tile .inner_top {
    flex: 1 0 auto;
}

.element_tiles_wrap .element_tile .inner_content {
    width: 100%;
    min-height: 125px;
    display: flex;
    /*align-items: flex-end;*/
    /*align-items: center;*/
    align-items: flex-start;

    padding: 20px 30px;

    background-color: rgba(255, 255, 255, .8);
    backdrop-filter: blur(2px) brightness(100%) opacity(100%);
}

.element_tiles_wrap .element_tile .inner_content * {
    font-family: 'Plus Jakarta Sans', 'Arial', 'Helvetica', sans-serif;
}

.element_tiles_wrap .element_tile .inner_content .inner_content_left {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.element_tiles_wrap .element_tile .item_type {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: #000;
    opacity: 0.3;
    margin-bottom: 3px;
}

.element_tiles_wrap .element_tile .item_title {
    font-size: 18px;
    font-weight: 800;
    color: #062D5E;
}

.element_tiles_wrap .element_tile .item_location {
    font-size: 14px;
    font-weight: 600;
    color: #062D5E;
    margin-top: 5px;
    display: none;
}

.element_tiles_wrap .element_tile .inner_content .inner_content_right {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.element_tiles_wrap .element_tile .item_price {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}

.element_tiles_wrap .element_tile .span_zlevneno {
    width: calc(100% + 30px);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 9px 30px;
    margin-right: -30px;
    margin-bottom: 6px;
    background-color: #D2091E;
}

.element_tiles_wrap .element_tile .price_zlevneno {
    font-size: 12px;
    color: #9A9A9A;
    font-weight: 800;
    text-decoration: line-through;
}

.element_tiles_wrap .element_tile .price_main {
    font-size: 18px;
    color: #D2091E;
    font-weight: 800;
}

.elements_heading {
    margin-top: 70px;
}

.elements {
    margin-bottom: 55px;
}

/* Zuzeni dlazdice */

.element_tiles_wrap .element_tile .inner_content {
    min-height: 110px;
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, .6);
}

.element_tiles_wrap .element_tile .inner_content .inner_content_left {
    padding-right: 15px;
}

.element_tiles_wrap .element_tile .span_zlevneno {
    width: calc(100% + 20px);
    padding: 9px 20px;
    margin-right: -20px;
}

.element_tiles_wrap .element_tile .item_type {
    opacity: 0.5;
}

/* Kontakty */

#element_wrap .element_block .contact_info_wrap h3 {
    color: #0A203D;
}

#element_wrap .element_block .contact_info_wrap .contact_info_rk {
    display: flex;
    margin-bottom: 1rem;
}

#element_wrap .element_block .contact_info_wrap .contact_info_rk_inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#element_wrap .element_block .contact_info_wrap .contact_info_rk:before {
    content: '';
    width: 100px;
    height: 100px;
    background-color: #ddd;
    border-radius: 16px;
    /* border-radius: 100px; */
    margin-right: 1rem;
    aspect-ratio: 1/1;
    /* overflow: hidden; */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    /* background-image: url(../images/rpb_thumb.jpg); */
    background-image: url(../images/logo_rpb_square.jpg);
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

#element_wrap .element_block .contact_info_wrap .contact_info_rk h4 {
    margin: 0 0 1rem 0;
    font-size: 22px;
}

#element_wrap .element_block .contact_info_wrap .contact_info_rk p {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#element_wrap .element_block .contact_info_wrap #contactform {
    margin-top: 2rem;
}

#element_wrap .element_block .contact_info_wrap #contactform h3 {
    display: none;
}

/* Vrstvy mapy */

.leaflet-touch .leaflet-control-layers {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0;
    border: none;
    background-color: transparent;
}

.leaflet-touch .leaflet-control-layers-toggle {
    display: inline-flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    appearance: none;
    min-width: 64px;
    width: auto;
    font-weight: 500;
    text-transform: none;
    font-size: 0.875rem;
    min-height: 2.5rem;
    line-height: 1.4;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: rgb(0, 15, 36);
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.08) 0px 8px 16px 0px, rgba(0, 0, 0, 0.08) 0px 0px 4px 0px;
    z-index: 1;
    pointer-events: auto;
    outline: 0px;
    border-width: 0px;
    border-style: initial;
    border-color: initial;
    border-image: initial;
    margin: 0px;
    text-decoration: none;
    border-radius: 100px;
    transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
    background-image: none;
}

.leaflet-touch .leaflet-control-layers-toggle:before {
    content: '\f24d';
    /* content: '\f06c'; */
    font-family: "FontAwesome";
    font-weight: 400;
    font-size: 14px;
    margin-right: 8px;
}

.leaflet-touch .leaflet-control-layers-toggle:hover,
.leaflet-touch .leaflet-control-layers-expanded .leaflet-control-layers-toggle {
    color: #D2091E;
}

.leaflet-control-layers-expanded .leaflet-control-layers-list {
    width: 23.4rem;
    max-width: 100% !important;
    background-color: rgb(255, 255, 255);
    color: rgb(35, 43, 58);
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 16px;
    min-height: 16px;
    max-width: calc(100% - 32px);
    max-height: calc(100% - 32px);
    padding: 0;
    margin-top: 8px;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 8px 16px 0px, rgba(0, 0, 0, 0.08) 0px 0px 4px 0px;
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
    outline: 0px;
    border-radius: 16px;
}

@media (max-width: 500px) {
    .leaflet-control-layers-expanded .leaflet-control-layers-list {
        width: 100%;
    }
}

.leaflet-control-layers-expanded .leaflet-control-layers-list .leaflet-control-layers-base {
    padding: 8px 0;
}

.leaflet-control-layers-expanded .leaflet-control-layers-list .leaflet-control-layers-base label {
    padding: 9px 24px;
    cursor: pointer;
}

.leaflet-control-layers-expanded .leaflet-control-layers-list .leaflet-control-layers-base label:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.leaflet-control-layers-expanded .leaflet-control-layers-list .leaflet-control-layers-base label>span {
    display: flex;
    align-items: center;
    position: relative;
}

.leaflet-control-layers-expanded .leaflet-control-layers-list .leaflet-control-layers-base .map_layer_type>span:before {
    content: '';
    width: 48px;
    height: 48px;
    margin-right: 24px;
    display: flex;
    background-color: #ddd;
    border-radius: 12px;

    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.leaflet-control-layers-expanded .leaflet-control-layers-list .leaflet-control-layers-base .map_layer_type.map_type_aerial>span:before {
    background-image: url(../images/map_types/map_type_letecka.png);
}

.leaflet-control-layers-expanded .leaflet-control-layers-list .leaflet-control-layers-base .map_layer_type.map_type_basic>span:before {
    background-image: url(../images/map_types/map_type_zakladni.png);
}

.leaflet-control-layers-expanded .leaflet-control-layers-list .leaflet-control-layers-base .map_layer_type.map_type_outdoor>span:before {
    background-image: url(../images/map_types/map_type_turisticka.png);
}

.leaflet-control-layers-expanded .leaflet-control-layers-list .leaflet-control-layers-base .map_layer_type input[type="radio"] {
    width: 0;
}

.leaflet-control-layers-expanded .leaflet-control-layers-list .leaflet-control-layers-base .map_layer_type:has(input:checked) {
    font-weight: 600;
}

.leaflet-control-layers-expanded .leaflet-control-layers-list .leaflet-control-layers-base .map_layer_type:has(input:checked)>span:after {
    content: '\f00c';
    width: 48px;
    height: 48px;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "FontAwesome";
    font-weight: 400;
    font-size: 14px;
    color: #fff;
    background-color: rgba(0, 13, 36, 0.5);
    border-radius: 12px;
}

/* Verze 01/2025 */

#element_wrap {
    flex-direction: column;
    padding-bottom: 3rem;
}

#element_detail .element_topgallery {
    width: calc(100% + 140px);
    margin: 0 -70px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 4px;
    grid-row-gap: 4px;

    position: relative;
}

#element_detail .element_topgallery>.exclusive {
    position: absolute;
    height: 30%;
    aspect-ratio: 1 / 1;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 400;
    text-transform: uppercase;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    /* background-color: #fff; */
    /* background-color: rgba(255,255,255,0.95);
    color: #d2091e; */
    background-color: #008FD6;
    background-color: #d2091e;
    color: #fff;
    -webkit-box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.05);
    -webkit-transition: all 0.2ms ease-in-out;
    -moz-transition: all 0.2ms ease-in-out;
    transition: all 0.2ms ease-in-out;
}

#element_detail .element_topgallery.three_images>.exclusive {
    min-height: 100px;
    font-size: 14px;
}

/* #element_detail .element_topgallery>.exclusive {
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
} */

#element_detail .element_topgallery>.exclusive {
    transform: translate(15%, -15%) rotate(-20deg);
    bottom: 0;
    left: 0;
}

@media (max-width: 1499px) {
    #element_detail .element_topgallery>.exclusive {
        font-size: 16px;
    }
}

@media (max-width: 1199px) {
    #element_detail .element_topgallery>.exclusive {
        font-size: 14px !important;
        height: 40%;
    }
}

@media (max-width: 840px) {
    #element_detail .element_topgallery>.exclusive {
        left: 0;
        transform: translate(15%, -15%) rotate(-20deg);
        height: 30%;
    }
}

@media (max-width: 550px) {
    #element_detail .element_topgallery>.exclusive {
        height: 40%;
    }
}

@media (max-width: 420px) {
    #element_detail .element_topgallery>.exclusive {
        font-size: 10px !important;
    }
}

#element_detail .element_topgallery:not(.three_images) .main_img {
    grid-area: 1 / 1 / 3 / 3;
}

#element_detail .element_topgallery.three_images {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
}

#element_detail .element_topgallery .main_img,
#element_detail .element_topgallery .subimage {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: 0;
    border: 0;
    margin: 0;
    padding: 0px;
}

#element_detail .element_topgallery .subimage {
    width: 100%;
    height: 100%;
    position: relative;
}

#element_detail .element_topgallery .main_img img,
#element_detail .element_topgallery .subimage img {
    width: 100%;
    -webkit-transition: all 150ms ease-in-out;
    -moz-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
}

#element_detail .element_topgallery a:hover img {
    transform: scale(1.10);
}

#element_detail .element_topgallery .subimage.type_video .play_video,
#element_detail .element_images .subimage.type_video .play_video {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.75);
    padding: .25rem .75rem;
    border-radius: 50px;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    z-index: 1;
}

#element_detail .element_topgallery .subimage.type_video .play_video:before,
#element_detail .element_images .subimage.type_video .play_video:before {
    content: '\f01d';
    margin-right: 10px;
    font-family: "FontAwesome";
    font-weight: 400;
    font-size: 22px;
    color: #fff;
}

#element_detail .element_block.width-100 {
    margin-left: 0;
    padding: 25px 50px;
}

#element_wrap .element_block.width-100 .info_heading {
    padding-top: 0;
    padding-bottom: 0;
}

#element_wrap .element_block .element_block_content {
    display: flex;
}

#element_wrap .element_block .element_block_content .element_side.side_left {
    flex: 0 0 70%;
    max-width: 70%;
    padding-right: 25px;
}

#element_wrap .element_block h1,
#element_wrap .element_block .info_heading_price {
    font-size: 36px;
}

#element_wrap .element_block h1 {
    margin-bottom: 10px;
}

#element_wrap .element_block .item_price {
    margin-top: 5px;
    margin-bottom: 20px;
}

#element_wrap .element_block .element_block_content .element_side.side_right {
    flex: 0 0 30%;
    max-width: 30%;
    padding-left: 25px;
}

#element_wrap .element_block .element_block_content .element_side.side_right .contact_info_wrap>h3 {
    margin-top: 0;
    font-size: 28px;
}

#element_wrap .element_block .element_info_wrap #element_map {
    min-height: 500px;
    border-radius: 16px;
}

.souhlas_wrap {
    display: flex;
    align-items: baseline;
}

.souhlas_wrap input[type="checkbox"] {
    margin-right: 10px;
}

#more_images_puller {
    height: 50px;

    position: absolute;
    right: 0;
    top: calc(50% - 25px);

    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.1;

    display: flex;
    align-items: center;

    padding: 10px 10px 10px 20px;

    -webkit-border-radius: 50px 0 0 50px;
    -moz-border-radius: 50px 0 0 50px;
    border-radius: 50px 0 0 50px;

    -webkit-box-shadow: rgba(0, 0, 0, 0.08) 0px 8px 16px 0px, rgba(0, 0, 0, 0.08) 0px 0px 4px 0px;
    -moz-box-shadow: rgba(0, 0, 0, 0.08) 0px 8px 16px 0px, rgba(0, 0, 0, 0.08) 0px 0px 4px 0px;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 8px 16px 0px, rgba(0, 0, 0, 0.08) 0px 0px 4px 0px;

    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;

    background-color: #fff;
}

#more_images_puller:hover {
    color: #000;
    padding-right: 20px;
}

/* Puller - cerna barva */

#more_images_puller.dark {
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
}

#more_images_puller.dark:hover {
    background-color: #d2091e;
    /* background-color: rgba(0, 0, 0, 1); */
    color: #fff;
}

#more_images_puller:before {
    content: '\f03e';
    margin-right: 15px;
    font-family: "FontAwesome";
    font-weight: 400;
    font-size: 22px;
}

a#show_panorama {
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    margin: 1rem 0;
}

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

a#show_panorama:before {
    content: '\f2a8';
    /* content: '\f21d'; */
    font-family: "FontAwesome";
    font-weight: 400;
    font-size: 16px;
    margin-right: 10px;
}

#pano_wrap {
    display: none;
}

#panoCont {
    border: none !important;
    border-radius: 16px;
}

.com_element #contactform {
    display: none;
}

#contactform.form-visible {
    display: block;
}

.related_wrapper .element_tiles_wrap .element_tile .inner_content {
    min-height: 50px;
    padding: 15px;
    flex-direction: column;
}

.related_wrapper .element_tiles_wrap .element_tile .item_type {
    font-size: 10px;
    display: none;
}

.related_wrapper .element_tiles_wrap .element_tile .span_zlevneno {
    width: calc(100% + 15px);
}

.related_wrapper .element_tiles_wrap .element_tile .item_title {
    font-size: 14px;
}

#element_wrap .element_block .related_wrapper .element_tiles_wrap .element_tile .item_price {
    margin-bottom: 0;
}

#element_wrap .element_block .related_wrapper .element_tiles_wrap .element_tile .item_price .span_zlevneno,
#element_wrap .element_block .related_wrapper .element_tiles_wrap .element_tile .item_price .price_zlevneno {
    display: none;
}

.related_wrapper .element_tiles_wrap .element_tile .item_price .price_main {
    font-size: 14px;
}

@media (max-width: 1025px) {
    #element_wrap .element_block.element_content {
        order: 0;
        padding: 25px 0;
    }

    #element_wrap .element_block .element_block_content {
        flex-direction: column;
    }

    #element_wrap .element_block .element_block_content .element_side.side_left,
    #element_wrap .element_block .element_block_content .element_side.side_right {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    #element_wrap .element_block .element_block_content .element_side.side_right {
        margin-top: 3rem;
    }

    #element_detail .element_topgallery .subimage.type_video .play_video,
    #element_detail .element_images .subimage.type_video .play_video {
        font-size: 12px;
    }

    #element_detail .element_topgallery .subimage.type_video .play_video:before,
    #element_detail .element_images .subimage.type_video .play_video:before {
        font-size: 16px;
    }
}

@media (max-width: 840px) {
    #element_detail .element_topgallery {
        width: calc(100% + 80px);
        margin: 0 -40px;
        display: flex;
    }

    #element_detail .element_topgallery .subimage {
        display: none;
    }
}

@media (max-width: 480px) {
    .contact_info_wrap {
        text-align: center;
    }

    #element_wrap .element_block .contact_info_wrap .contact_info_rk:before {
        margin-right: 0;
    }
}

/* RESPONSIVE */

@media (max-width: 480px) {
    .element_block .contact_info_wrap .contact_info_rk {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #element_wrap .element_block .contact_info_wrap .contact_info_rk_inner {
        margin-top: 20px;
    }

    #element_wrap .element_block .contact_info_wrap .contact_info_rk_inner,
    #element_wrap .element_block .contact_info_wrap .contact_info_rk p {
        align-items: center;
    }
}

@media (max-width: 1499px) {
    .element_tiles_wrap .element_tile {
        width: calc(100% / 2 - 50px);
    }
}

@media (max-width: 1025px) {
    .element_tiles_wrap .element_tile {
        width: calc(100% - 50px);
    }

    .elements_heading {
        margin-top: 40px;
    }
}

@media (max-width: 540px) {
    .element_tiles_wrap .element_tile {
        min-height: 300px;
    }

    .element_tiles_wrap .element_tile .inner_content {
        min-height: 100px;
        padding: 10px 20px;
    }

    .element_tiles_wrap .element_tile .span_zlevneno {
        width: calc(100% + 20px);
        margin-right: -20px;
        padding: 9px 20px;
        font-size: 8px;
    }

    .element_tiles_wrap .element_tile .price_main,
    .element_tiles_wrap .element_tile .item_title {
        font-size: 16px;
    }

    .container-component .btn {
        font-size: 12px;
        padding: 10px 25px;
    }

    #element_wrap .element_block h1 {
        font-size: 40px;
    }

    #element_wrap .element_block .info_heading_price {
        font-size: 32px;
    }
}

@media (max-width: 430px) {
    .element_tiles_wrap .element_tile .inner_content {
        flex-direction: column;
    }

    .element_tiles_wrap .element_tile .inner_content .inner_content_left {
        width: 100%;
    }

    .element_tiles_wrap .element_tile .item_type,
    .element_tiles_wrap .element_tile .item_title,
    .element_tiles_wrap .element_tile .item_location {
        margin: 0;
    }

    .element_tiles_wrap .element_tile .inner_content .inner_content_right {
        width: 100%;
    }

    .element_tiles_wrap .element_tile .item_price {
        align-items: flex-start;
        position: relative;
        margin-top: 5px;
        padding-right: 90px;
    }

    .element_tiles_wrap .element_tile .span_zlevneno {
        width: auto;
        max-width: 90px;
        position: absolute;
        right: 0px;
    }

    .container-component .btn {
        margin-top: 5px;
    }
}

@media (max-width: 390px) {
    #element_wrap .element_block h1 {
        font-size: 32px;
    }

    #element_wrap .element_block .info_heading_price {
        font-size: 24px;
    }
}

@media (max-width: 360px) {
    .element_tiles_wrap .element_tile {
        min-height: 350px;
    }
}

/* UIKit */

.uk-icon:not(.uk-preserve) [stroke*="#"]:not(.uk-preserve) {
    stroke: rgba(255, 255, 255, 0.7) !important;
}

#element_detail .element_topgallery_outside_wrapper {
    width: calc(100% + 140px);
    margin: 0 -70px;
    position: relative;
}

#element_detail .element_topgallery_outside_wrapper>.element_topgallery {
    width: 100%;
    margin: 0;
}

@media (max-width: 840px) {
    #element_detail .element_topgallery_outside_wrapper {
        width: calc(100% + 80px);
        margin: 0 -40px;
        display: flex;
    }
}

/* Animace dlaždic a rozcestniku */

.can_animate .element_tile,
.can_animate .claim_items .claim_item,
.can_animate .claim_items ._sep_line {
    opacity: 0;
    transition: all 0.3s ease;
}

.can_animate .element_tile,
.can_animate .claim_items .claim_item {
    transform: translateY(20px) scale(0.95);
}

.can_animate .claim_items ._sep_line {
    /* transform: translateX(-20px) scale(0.95); */
}

.can_animate .element_tile.show,
.can_animate .claim_items .claim_item.show,
.can_animate .claim_items ._sep_line.show {
    opacity: 1;
}

.can_animate .element_tile.show,
.can_animate .claim_items .claim_item.show {
    transform: translateY(0) scale(1);
}

.can_animate .claim_items ._sep_line.show {
    /* transform: translateX(0) scale(1); */
}

/* Rozliseni Novinka, Akce */

.element_tile .druh_infoblock_wrap,
#element_detail .element_topgallery>.druh_infoblock_wrap {
    display: flex;
    flex-direction: column;
    z-index: 2;
    position: absolute;
    top: 30px;
}

.element_tile .druh_infoblock_wrap {
    min-width: 25%;
    align-items: flex-end;
    right: 0;
    /* top: 45%;
    transform: translate(0, -45%); */
}

#element_detail .element_topgallery>.druh_infoblock_wrap {
    min-width: 150px;
    align-items: flex-start;
    left: 0;
}

.element_tile .druh_infoblock_wrap .druh_infoblock,
#element_detail .element_topgallery>.druh_infoblock_wrap .druh_infoblock {
    width: 100%;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 16px;
    background-color: #d00125;
}

#element_detail .element_topgallery>.druh_infoblock_wrap .druh_infoblock {
    text-align: right;
}

.element_tile .druh_infoblock_wrap .druh_infoblock.type_1,
#element_detail .element_topgallery>.druh_infoblock_wrap .druh_infoblock.type_1 {
    background-color: #0D438C;
}

.element_tile .druh_infoblock_wrap .druh_infoblock.type_2,
#element_detail .element_topgallery>.druh_infoblock_wrap .druh_infoblock.type_2 {
    background-color: #1590D4;
}

.element_tile .druh_infoblock_wrap .druh_infoblock+.druh_infoblock,
#element_detail .element_topgallery>.druh_infoblock_wrap .druh_infoblock+.druh_infoblock {
    margin-top: 3px;
}

@media(max-width: 480px) {
    #element_detail .element_topgallery>.druh_infoblock_wrap {
        min-width: 100px;
    }
}

/* COOKIES */

#redim-cookiehint {
    padding: 30px;
}

#cookiehintsubmit,
#cookiehintsubmitno {
    background: #D00125 !important;
}

#cookiehintsubmit:hover,
#cookiehintsubmitno:hover {
    background: #870017 !important;
}

#redim-cookiehint .cookiecontent p {
    font-size: 14px;
    line-height: 1.5;
}

/* Link to all */

.link_to_all {
    font-size: 18px;
    font-weight: 600;
}

/* Bannery */

.element_banners {
    margin-top: 3rem;
}

.element_banners.block-sticky {
    position: sticky;
    top: 10px;
}

.element_banners.position-content {
    width: 100%;
    display: flex;
}

.element_banners.align-center {
    justify-content: center;
}

.element_banners>.element_banner {
    display: inline-block;
}

.element_banners>.element_banner+.element_banner {
    margin-top: 1rem;
}