/*

Theme Name: Neve FSE - Child Theme - WPMF

Theme URI: https://www.3drich.cz/wp-themes

Author: Michal Fridrich

Author URI: https://www.3drich.cz/

Template: neve-fse

Version: 1.0.0

License: GNU General Public License v2 or later

License URI: http://www.gnu.org/licenses/gpl-2.0.html

*/



html {

  scroll-behavior: smooth;

}



body {

    /*width: 100%;*/

    overflow-x: hidden;

    box-sizing: border-box;

}



ul {

    display: block;

    list-style-type: disc;

    margin-block-start: 1em;

    margin-block-end: 1em;

    margin-inline-start: 0px;

    margin-inline-end: 0px;

    padding-inline-start: 20px;

}



li::marker {

    color: var(--wp--preset--color--ti-accent);

}



/* Header  */



.nav-main {

    position: sticky;

}



.header-main {

    position: fixed;

    top: 0px;

    width: 100% !important;

    z-index: 1002;

    padding-top: 2rem !important;

    padding-bottom: 2rem !important;

    padding-left: 48px !important;

    padding-right: 48px !important;

    background: black;

    color: white;

}

/*.header-inner {

    max-width: 1140px;

    margin-left: auto;

    margin-right: auto;

}*/



.header-main.has-not-scrolled {

    background: transparent;

    color: black;

    transition: all .25s ease-in-out;

}



@media screen and (max-width:768px) {

    .header-main.has-not-scrolled {

        padding: 1rem 1rem !important;

        transition: all .25s ease-in-out;

    }

    .hero-content {
        max-width: 100%;
        padding-left: 4rem;
        padding-right: 4rem;
    }

}



@media screen and (min-width:769px) {

    .header-main.has-not-scrolled {

        padding: 3rem 3rem !important;

        transition: all .25s ease-in-out;

    }

}

.header-main.has-scrolled {

    padding: 1rem !important;

    transition: all .25s ease-in-out;

    background-color: black;

    color: white;

    z-index: 1010;

}

.header-main.has-scrolled h1 {

    color: #fcb900;

}



.header-main.has-scrolled .wp-block-navigation-link:hover {

    color: var(--wp--preset--color--ti-accent);

}



.header-main.has-not-scrolled .wp-block-navigation-link:hover {

    border-bottom: 1px solid var(--wp--preset--color--ti-accent);

}



.current-menu-item.wp-block-navigation-link {

    border-bottom: 1px solid var(--wp--preset--color--ti-accent);

}



.header-main.has-not-scrolled .custom-logo:hover {

    filter: grayscale(1) brightness(6);

}



.wp-block-navigation-item__content:hover {

    color: #fcb900 !important;

}



/* Hero */

#uvod {

    margin-right: -48px;

    margin-left: -48px;

}

.hero-content {
    text-align: center;
}

/* Page Content */

.page-content {

    margin-left: 0 !important;

    margin-right: 0 !important;

}



/* Decorations */

.page-border {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    border: 1rem solid #000;

    box-sizing: border-box;

    pointer-events: none;

    z-index: 1001;

}



@media screen and (max-width:768px) {

    .page-border {
        display: none;
    }

    .hero-bg-static-img {
        position: absolute !important;
        bottom: 0 !important;
        width: auto !important;
        height: 75% !important;
    }
}

@media screen and (max-height:780px) and (max-width:1080px) {
    .hero-bg-static-img {
        position: absolute !important;
        bottom: 0 !important;
        width: 100% !important;
        height: auto !important;
        bottom: -30% !important;
    }
}

@media screen and (max-height:850px) and (max-width:1080px) {
    .hero-bg-static-img {
        position: absolute !important;
        bottom: 0 !important;
        width: 100% !important;
        height: auto !important;
        bottom: -15% !important;
    }
}

@media screen and (max-height:780px) and (max-width:768px) {
    .hero-bg-static-img {
        position: absolute !important;
        bottom: 0 !important;
        width: auto !important;
        height: 75% !important;
    }
}

/* Fixes */

.grecaptcha-badge {
    visibility: hidden;
}

.wp-block-navigation__responsive-container-close {
    margin-right: 2rem;
    margin-top: 2rem;
}