/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

* {margin:0;padding:0;}
h1 {margin-bottom:2rem;}
h3 {font-size:1.5rem;margin-bottom:0.5rem!important}
.gallery {
    max-width: 800px;
}

.main-image img {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 10px;flex-wrap:wrap;
}

.thumb {
    width: calc(25% - 8px);
    height: 20%;
    object-fit: cover;
    cursor: pointer;
    opacity: 1;
}

.thumb:hover {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}
#footer {padding:6rem 0;background:#364769;color:#ffffff;}
#footer img {margin-bottom:1rem;opacity:0.4;}
.wp-block-social-links {list-style-type:none}
.wp-block-social-links svg {fill:#fff;width:40px;height:40px;}
.wp-block-social-link-anchor {line-height:40px;}
#footer h2, #footer h3, #footer a {color:#ffffff;}
#footer a {text-decoration:underline;}
.inside, .header-inner, .archive main > .container {width:100%;max-width:1450px!important;padding:0 50px;margin: 0 auto;box-sizing:border-box;}
.custom-logo-link img {max-width:170px!important;}
.site-navigation-toggle-holder .site-navigation-toggle {
    align-items: center;
    background-color: rgba(0,0,0,.05);
    border: 0;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    padding: .7rem;
}
#footer .inside {display:flex;gap:6rem;}
#footer .inside div {flex-grow:1;}

.fluent_form_3 input, .fluent_form_3 textarea, .fluent_form_3 input:active, .fluent_form_3 textarea:active, .fluent_form_3 input:focus, .fluent_form_3 textarea:focus, input:not(:placeholder-shown), textarea:not(:placeholder-shown), .ff-default .ff-el-form-control:focus  {background:transparent!important;border:1px solid #ffffff50!important;color:#ffffff!important;padding:10px;}

.fluent_form_3 input::placeholder, .fluent_form_3 textarea::placeholder {color:#ffffff!important;}
.fluent_form_3 label {display:none!important;}
.fluent_form_3 button {background:#ffffff50!important;color:#ffffff!important;margin-top:15px!important}
.fluent_form_3 button:hover {background:#ffffff70!important;}
.ff-el-group {margin-bottom:0!important}

@media (max-width:900px) {#footer .inside {display:block;}
}
/* velikost hamburgeru */
.site-navigation-toggle-holder .site-navigation-toggle-icon {
    display: block;
    width: 35px;
    height: 24px;
    position: relative;
    color: #364769; /* modrá */
}

/* čárky */


.site-navigation-toggle-holder .site-navigation-toggle-icon:before,
.site-navigation-toggle-holder .site-navigation-toggle-icon:after {
    background-color: currentColor;
    border-radius: 999px;
    content: "";
    display: block;
    height: 3px;
    width: 35px;
    transition: all .2s ease-in-out;
    position: absolute;
    left: 0; 
}

/* horní čára */
.site-navigation-toggle-holder .site-navigation-toggle-icon:before {
    top: 0;
    box-shadow: 0 10px 0 #364769; /* prostřední čára + větší rozestup */
}

/* spodní čára */
.site-navigation-toggle-holder .site-navigation-toggle-icon:after {
    top: 20px;
}
.site-navigation-toggle-holder .site-navigation-toggle[aria-expanded=true] .site-navigation-toggle-icon:before,
.site-navigation-toggle-holder .site-navigation-toggle[aria-expanded=true] .site-navigation-toggle-icon:after {
    top: 10px;
}

.site-navigation-toggle-holder .site-navigation-toggle[aria-expanded=true] .site-navigation-toggle-icon:before {
    box-shadow: none;
    transform: rotate(45deg);
}

.site-navigation-toggle-holder .site-navigation-toggle[aria-expanded=true] .site-navigation-toggle-icon:after {
    transform: rotate(-45deg);
}
.site-navigation-toggle {background:transparent!important;}
.site-navigation-toggle-icon:before, .site-navigation-toggle-icon:after {background:#364769!important;margin-bottom:15px!important;}
.site-navigation-toggle-icon {width:35px!important;}
#site-header {padding:2rem 0; box-shadow: 0 2px 6px rgba(0,0,0,0.06);margin-bottom:2rem;}
main.single-nemovitost {margin:4rem 0 4rem 0;}
main.single-nemovitost .inside {display:flex;gap: 5rem;flex-wrap:nowrap; flex-direction: row-reverse;}
main.single-nemovitost .inside > div {width:50%;}
.page-header .entry-title,.site-footer .footer-inner,.site-footer:not(.dynamic-footer),.site-header .header-inner,.site-header:not(.dynamic-header),body:not([class*=elementor-page-]) .site-main {
        max-width:1450px
    }
        .nem-grid {margin: 3rem 0;
            display: flex;
            flex-wrap: wrap;
            gap: 3rem;
        }

        .nem-item {
            width: calc(33.333% - 2rem);
            text-decoration: none;
            color: inherit;
            display: block;
        }
		.nem-item:hover{
            opacity:0.7;
        }

        .nem-item img {
            width: 100%;
            height: auto;
            display: block;
        }

        .nem-item h3 {
            margin: 10px 0 0;
            font-size: 18px;
        }

        @media (max-width: 768px) {
            .nem-item {
                width: calc(50% - 1.5rem);
            }
        }

        @media (max-width: 480px) {
            .nem-item {
                width: 100%;
            }
        }
@media (max-width: 1024px) { .inside, .archive main > .container, .header-inner {width:100%;max-width:1350px;padding:0 20px;margin: 0 auto;} main.single-nemovitost .inside {display:block; }main.single-nemovitost .inside > div {width:100%;margin-bottom:3rem;}
}