/*
	Theme Name: HTML5 Blank
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@300;600&family=Montserrat:wght@500;600&display=swap');

/*------------------------------------*\
    MAIN
\*------------------------------------*/


/* global box-sizing */
*,
*:after,
*:before {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

html {
    font-size: 20px;
    font-family: 'Archivo', sans-serif;
    font-weight: 300;

}

body {
    overflow-y: scroll !important;
}

/* clear */
.clear:before,
.clear:after {
    content: ' ';
    display: table;
}

.clear:after {
    clear: both;
}

.clear {
    *zoom: 1;
}

img {
    max-width: 100%;

}


a {
    color: #000;
    text-decoration: none;
    width: fit-content;
    display: inline; /* should be 'inline' for multiple line animation */
    background-image: linear-gradient(#000, #000);
    background-size: 0% 1px;
    background-repeat: no-repeat;
    transition: background-size 0.25s;
    background-position: 0 calc(100% - 0px)
}

a:hover {
    color: #000;
}

a:focus {
    outline: 0;
}

a:hover,
a:active {
    outline: 0;
}


a:hover:not(.logo a):not(.menu-item a):not(.homepage-contact-button):not(.return-home a):not(.homepage-gallery-caption):not(.eda-button) {
    background-size: 100% 1px;
}

input:focus {
    outline: 0;

}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-transform: uppercase;

}

h1 {
    text-align: center;
    display: block;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
    text-align: center;
}

strong {
    font-weight: 600;
}

p, ul, li, th, tr, td {
    font-family: 'Archivo', sans-serif;
    font-weight: 300;
}

.cookie-statement {
    visibility: hidden;
    display: none;
}

.cmplz-cookiebanner {
    margin-bottom: 10px;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
    width: 100%;
    max-width: 1920px;
    padding: 0 80px 0 80px;
    margin: 0 auto;
    position: relative;
}

/* header */
.header {

}

/* logo */
.logo {
    max-width: 250px;
    margin: 0 auto;
    margin-top:20px

}

.logo a {
    width: auto;
    display: block;

}

.logo a::after {
    display: none;
}

.logo-img {

}

/* nav */
.nav {
    display: block;
}

.nav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 70px;
    margin-top: 40px;
}

.nav ul li {
    list-style: none;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-transform: uppercase;


}

.animatedfs_menu_list .afsmenu {
    padding: 0;
}

.animatedfsmenu.navbar-expand-md, .animatedfsmenu.navbar-expand-ht {
    overflow-y: scroll;

}

.animatedfsmenu.navbar-expand-md, .animatedfsmenu.navbar-expand-ht {
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    scrollbar-width: none; /* Firefox */
}

.animatedfsmenu.navbar-expand-md::-webkit-scrollbar, .animatedfsmenu.navbar-expand-ht::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.animatedfsmenu .animatedfsmenu-navbar-toggler.right_top {

    cursor: pointer;
}

.animatedfsmenu .animatedfsmenu-navbar-toggler .bar {
    height: 4px !important;
}

.animatedfsmenu .animatedfs_menu_list .afsmenu li {
    margin: 0 auto !important;
    width: fit-content !important;
    width: -moz-fit-content !important;

}

.animatedfs_menu_list .afsmenu > li a {
    line-height: 54px;
}

.animatedfsmenu .animatedfsmenu-navbar-toggler, .animatedfsmenu .animatedfsmenu-navbar-toggler:hover {
    background: transparent !important;
}

/* sidebar */
.sidebar {

}

/* footer */
.footer {
font-size: .75rem;
}

.footer p {
    text-align: center;
}

.footer .copyright a {
    width: fit-content;
    display: inline-block;
}

.container, .row, [class*="col-"] {
    padding: 0;
    margin: 0;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

/*------------------------------------*\
    HOMEPAGE
\*------------------------------------*/
.home .wrapper {
    padding: 0;
}

.hero{
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Backgrounds */
.hero__bg{
    position: absolute;
    inset: 0;
    z-index: 0;
    background: center / cover no-repeat;
}

.hero__bg--mobile{ display: none; }

@media (max-width: 1024px){
    .hero__bg--desktop{ display: none; }
    .hero__bg--mobile{ display: block; }
}

/* Content */
.hero__inner{
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.hero__content{
    min-height: 800px;
    padding: 80px;
    text-align: right;
}

.hero__ctas{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 20px;
}

.hero__cta{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 2rem;
}

/* Typography (nechávám beze změny) */
h2.hero__title{
    text-align: right;
    font-size: 5rem;
    line-height: 6rem;
    margin-bottom:40px;
}

.hero__subtitle{
    font-size: 1.5rem;
    line-height: 2rem;
    width: 1024px;
    margin-bottom: calc(40px + 1rem);
}

/* Gradient blur overlay */
.hero::after{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(0,0,0,.06);

    -webkit-mask-image: linear-gradient(90deg,
    transparent 0%,
    transparent 30%,
    rgba(0,0,0,.35) 50%,
    rgba(0,0,0,1) 100%
    );
    mask-image: linear-gradient(90deg,
    transparent 0%,
    transparent 30%,
    rgba(0,0,0,.35) 50%,
    rgba(0,0,0,1) 100%
    );
}

/* Fallback when backdrop-filter not supported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
    .hero::after{
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: linear-gradient(90deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 45%,
        rgba(0,0,0,.25) 70%,
        rgba(0,0,0,.45) 100%
        );
        -webkit-mask-image: none;
        mask-image: none;
    }
}

.eda-button{
    background-color: #000;
    padding: 10px 20px;
    color:#fff;
    text-transform: uppercase;
    font-size: 1rem;
    border: 1px solid #000;
}

.eda-button:hover{
    background-color: #fff;
    text-decoration: none;

}



.homepage-about {
    max-width: 1024px;

    margin: 0 auto;
    text-align: center;
    margin-bottom: 40px;
    padding: 40px;

}

.homepage-page-links {
    margin-bottom: 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 40px;


}

.homepage-contact-button {
    width: fit-content;
}

/*------------------------------------*\
    CENIK
\*------------------------------------*/

.cenik-tabulka, .cenik-vysvetlivky {
    width: 1280px;
    margin: 0 auto;
    max-width: 100%;
    white-space: nowrap;

}

.sluzby-a-nabidka-reziva h2 {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 40px;
    white-space: normal;
}

.sluzby-a-nabidka-reziva .contact-form-container {
    width: 1280px;
    max-width: 100%;
    margin: 0 auto;
}

.cenik-tabulka p {
    white-space: normal;
}

/*------------------------------------*\
    SLUZBA A PRODUKTY
\*------------------------------------*/
.sluzby-kontejner {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-bottom: 80px;
}

.sluzba {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    justify-content: space-between;
    align-items: flex-start;
    align-content: space-between;

}

.sluzba h2 {
    text-align: left;
    margin-bottom: 20px;
    padding-top: 20px;
    font-size: 2rem;
    line-height: 2.5rem;
}

.sluzba h3 {
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-top: 40px;
}

.sluzba-vnitrni {
    flex-basis: calc(50%);
}

.sluzba:nth-child(1n) .sluzba-text {
    order: 1;
    padding-right: 80px;
    display: block;
}

.sluzba:nth-child(1n) .sluzba-foto {
    order: 2;
}

.sluzba:nth-child(2n) .sluzba-text {
    order: 2;
    padding-left: 80px;
}

.sluzba:nth-child(2n) .sluzba-foto {
    order: 1;
}


.sluzba-text li {
    padding-left: 0;
}

.sluzba-text ul li ul li {
    padding-left: 20px;
}


.sluzba-foto img {
    height: auto;
}

.contact-form {
    margin: 0 auto;
}

.sluzba-rozcestnik{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.sluzby-uvod{
    text-align: center;
    width: 1024px;
    max-width: 100%;
    margin: 80px auto;
}
/*------------------------------------*\
    KONTAKT
\*------------------------------------*/


#wpcf7-f40-p38-o1 {
    margin: 0 auto;
    display: block;
}

#wpgmza_map {
    height: 100%;
}


.contact-form .contact-form-text-area {
    height: 100%;
}


.contact-form .contact-form-text-area textarea.form-control {
    min-height: 100%;
}

.contact-form .form-select {

}

.contact-form .wpcf7-acceptance .wpcf7-list-item {
    margin-left: 0;
    margin-bottom: 20px;
    margin-top: 10px;
}

.contact-form .wpcf7-submit {

    margin: 0 auto;
    margin-top: 60px;
    display: block;
}


.contact-info span i {
    margin-right: 8px;
}

.contact-address, .contact-info {
    margin-bottom: 40px;
}

.contact-address > span, .contact-info > span {
    display: block;
}

.contact-left {
    padding-left: 40px;
    padding-right: 40px;
}

.text-area-container {
    padding-right: 20px;
}

.submit-container .wpcf7-submit {
    margin: 0 auto;
    display: block;
}

.form-label {
    width: 100%;
}

.wpcf7-acceptance span.vice-info {
    font-size: 0.75rem;
}

.acf-map{
    width: 100%;
    height: 800px;
}

.acf-map img {
    max-width: inherit !important;
}

/*------------------------------------*\
    404
\*------------------------------------*/

.error404 .return-home {
    margin-bottom: 160px;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width: 1439px) {
    h2.hero__title{
        font-size:3rem;
        line-height: 4rem;
        margin-bottom: 30px;
    }

    .hero__subtitle{
        font-size: 1rem;
        line-height: 1.5rem;
        width: 800px;
        max-width: 100%;
        margin-bottom: calc(30px + 1rem);
    }


}
@media only screen and (max-width: 1399px) {
    .text-area-container {
        margin-bottom: 40px;
        padding-right: 0;
    }

    .homepage-gallery {
        padding: 0 80px 0 80px;
    }
}

@media only screen and (max-width: 1280px) {
    .homepage-gallery-caption {
        bottom: 10%;
        right: 5%;

        font-size: 1.5rem;
    }

    .homepage-gallery {
        padding: 0;
    }
}

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

}

@media only screen and (max-width: 1024px) {
    .animatedfsmenu .animatedfsmenu-navbar-toggler.right_top {
        top: 10px !important;
        right: 10px !important;
        background-color: #000 !important;

    }

    .animatedfsmenu .animatedfs_menu_list {
        min-width: unset !important;
    }


    .homepage-gallery-caption {
        bottom: 10%;
        right: 5%;

        font-size: 1rem;
        padding: 5px 10px;
    }

    .nav {
        visibility: hidden;
        display: none;
    }

    .homepage-gallery {
        margin-top: 40px;
    }

    .homepage-about{
        padding: 20px;
        margin-bottom: 0;
    }

    .homepage-page-links{
        flex-direction: column;
        gap: 10px;
    }

    .kontakt .container-fluid {
        margin: 0;
        padding: 0;
    }

    .contact-left {
        margin: 0;
        padding: 0;
        padding-right: 20px;
    }


    .sluzby-kontejner {
        gap: 40px;
    }

    .sluzba {
        flex-direction: column;
        justify-content: flex-start;
        align-content: flex-start;
        align-items: flex-start;


    }

    .sluzba-vnitrni {
        flex-basis: calc(100%);


    }


    .sluzba:nth-child(1n) .sluzba-text {
        order: 1;
        padding-right: 0;
    }

    .sluzba:nth-child(1n) .sluzba-foto {
        order: 2;
    }

    .sluzba:nth-child(2n) .sluzba-text {
        order: 1;
        padding-left: 0;
    }

    .sluzba:nth-child(2n) .sluzba-foto {
        order: 2;
    }

    .sluzba-text {
        padding-bottom: 20px;
    }

    .sluzba .sluzba-foto {
        margin-bottom: 40px;
    }



    .hero__content {
        padding: 40px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    /* Gradient blur overlay */
    .hero::after{
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;

        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        background: rgba(0,0,0,.06);

        -webkit-mask-image: linear-gradient(180deg,
        transparent 0%,
        transparent 30%,
        rgba(0,0,0,.35) 50%,
        rgba(0,0,0,1) 100%
        );
        mask-image: linear-gradient(180deg,
        transparent 0%,
        transparent 30%,
        rgba(0,0,0,.35) 50%,
        rgba(0,0,0,1) 100%
        );
    }

    /* Fallback when backdrop-filter not supported */
    @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
        .hero::after{
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            background: linear-gradient(180deg,
            rgba(0,0,0,0) 0%,
            rgba(0,0,0,0) 45%,
            rgba(0,0,0,.25) 70%,
            rgba(0,0,0,.45) 100%
            );
            -webkit-mask-image: none;
            mask-image: none;
        }
    }


    h2.hero__title{
        color:#fff;
        font-size: 2rem;
        line-height: 3rem;
        text-align: left;
    }
    .hero__subtitle{
        width: 100%;
        color:#fff;
        text-align: left;
    }


    .hero__content{
        padding: 20px;
        padding-bottom: 80px;
    }

    .hero__ctas{
        justify-content: center;
    }
    .hero__cta{
        padding: 5px 10px;
    }

}

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


    .contact-map {
        height: 400px;
    }

    .contact-left {
        margin: 0;
        padding: 0;
    }

    .contact-form {
        max-width: 100%;
    }

    .contact-address, .contact-info {
        text-align: center;
    }

}

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

    .animatedfsmenu .animatedfs_menu_list .afsmenu li.menu-item {
        text-align: center;

    }


    .animatedfsmenu .animatedfs_menu_list .afsmenu li.menu-item a {
        font-size: 2rem !important;
        line-height: 2.1rem !important;
        color: #000 !important;

    }

    .wrapper {
        padding: 0 20px 0 20px;
    }

    .animatedfsmenu .animatedfsmenu-navbar-toggler.right_top {
        top: 18px !important;
        right: 20px !important;

    }

    .flickity-prev-next-button {
        visibility: hidden;
        display: none;
    }

    .homepage-gallery-caption {
        bottom: 5%;
        right: 2.5%;

        font-size: 0.75rem;
        padding: 2.5px 5px;
    }

    html {
        font-size: 16px;
    }

    .homepage-page-links {
        margin-bottom: 20px;
    }

    .contact-form .wpcf7-submit {
        margin-top: 20px;
        margin-bottom: 40px;
    }
.sluzba-rozcestnik{
    flex-direction: column;
    align-content: center;
    align-items: center;
    margin-bottom: 0;
}
.sluzby-uvod{
    margin-top:40px;
    margin-bottom: 0;
    text-align: left;
}
}

@media only screen and (max-width: 480px) {
    .logo {
        max-width: 200px;
    }
}

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

}


/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
    background: #000;
    color: #FFF;
    text-shadow: none;
}

::-webkit-selection {
    background: #000;
    color: #FFF;
    text-shadow: none;
}

::-moz-selection {
    background: #000;
    color: #FFF;
    text-shadow: none;
}

/*------------------------------------*\
    REFERENCE
\*------------------------------------*/

.ref-item, .ref-sizer {
    width: calc(25% - 10px);
}

.ref-item {
    margin-bottom: 10px;
}

.ref-item img {
    height: auto;
}

h2.ref-title {
    font-size: 2.5rem;
    line-height: 4rem;
    margin-top: 80px;
}

.reference-about {

    text-align: center;
    width: 1024px;
    max-width: 100%;
    margin: 0 auto 80px;
}

@media only screen and (max-width: 1024px) {
    h2.ref-title {
        font-size: 1.5rem;
        line-height: 2.5rem;
        margin-top: 40px;
    }

    .ref-item, .ref-sizer {
        width: calc(50% - 10px);
    }
}

.grecaptcha-badge {
    visibility: hidden;
    display: none;
}