/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* Logo */ 

@media only screen and (max-width: 1024px) and (min-width: 325px)  {
    .cust-header-logo {
        max-width: 70px!important;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .cust-hero-btn {
        padding: 4px 20px!important;
        margin-top: 15px!important;
    }
}

.cust-header-logo {
    
}

/* .cust-two-line-heading {
    min-height: 101px;
} */

/* Slider */

.slider-4w {
    overflow: hidden !important;
}

.slider-4w .fusion-builder-row {
    position: static !important;
}

.slider-4w .slide-4w {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0;
    opacity: 0;
    transition: 0.8s ease-in-out;
}
.slider-4w .slide-4w.active {
    z-index: 10;
    opacity: 1;
}

.slider-4w .slide-4w .fusion-column-wrapper {
    margin: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
}

.slider-nav-wrapper-4w {
    position: absolute !important;
    bottom: 50px; /* odsazení teček od spodu slideru */
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.slider-nav-4w {
    display: flex;
    flex-direction: row;
    justify-content: center; /* zarovnání teček - flex-start doleva, flex-end doprava, center na střed */
    padding: 20px 15px;
    margin-top: 20px !important;
    width: 100%;
    max-width: var(--site_width);
    margin: 0 auto;
}
.slider-nav-btn-4w {
    transform: scale(0.7);
    width: 10px;
    height: 10px;
    position: relative;
    display: inline-block;
    border-radius: 50%;
    transition: 0.15s ease-out;
    cursor: pointer;
}
.slider-nav-btn-4w:not(:last-of-type) {
    margin-right: 10px;
}
.slider-nav-btn-4w.active {
    transform: scale(1);
}

.slider-nav-btn-4w {
    background: rgba(255, 255, 255, 0.5) !important; /* barva teček bez active a bez hoveru */
}

.slider-nav-btn-4w.active:before {
    background: blue !important; /* barva active tečky */
}

.slider-nav-btn-4w:before {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    content: "";
    background: rgba(255, 255, 255, 0);
    border-radius: 50%;
    transform: scale(0);
    transition: 0.15s ease-in-out;
}

.slider-nav-btn-4w.active:before {
    transform: scale(1);
}

.slider-nav-btn-4w:not(.active):hover:before {
    background: rgba(255, 255, 255, 0.8); /* barva tečk na hover efekt */
    transform: scale(1);
}


.controls {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 100;
}

.arrows {
    position: relative;
    max-width: var(--site_width);
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 20px;
}

.arrow-prev svg,
.arrow-next svg {
    width: auto;
    height: 60px !important; /* velikost šipek */
    cursor: pointer;
    opacity: 0.5;
    transition: 0.25s ease all;
    fill: #fff; /* barva šipek */
}

.arrow-prev:hover svg,
.arrow-next:hover svg {
    opacity: 1;
}

.arrow-next svg {
    transform: rotate(180deg);
}

.slide-4w .fusion-column-wrapper > div {
    margin: 0 auto;
    width: 100%;
    max-width: calc(var(--site_width) - 100px);
}

.slider-content-4w {
    max-width: calc(var(--site_width) - 100px);
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 100;
}

@media only screen and (max-width: 1024px) { /* nastavit šířku layoutu pro tablet !!!! */

    .slider-content-4w {
        max-width: 100%;
    }

    .slider-content-4w h1 {
        font-size: 30px !important;
    }
    
}

/* Sluzby */

.rozcestnik-icons {
    width: 100px;
    height: 100px;
    fill: #25247B;
    display: flex;
    align-self: center;
}

.produkty-ico {

}

.nastrojarna-ico {

}

.lisovna-ico {

}

.cust-rozcestnik-heading {
    min-height: 53px;
}

/* Tabs */

/* .sekce_kontakt_page {
    display:none!important;
}

.sekce_kontakt_page.active_sekce {
    display:flex!important;
}

.sekce_kontakt_page.active_sekce {
    background: #f2f3f5!important;
} */

/* Tabs end */

/*-------------tabs - START ------------------*/
.sluzby-box {
    margin-bottom: 0px!important;
} 

.tablinks {
    overflow: hidden;
    padding: 20px;
}
.tablinks .img-box{
    width: 30%;
    float: left;
}

.tablinks .img-box 

.sluzby-box .fusion-column-wrapper a {
    scroll-behavior: smooth;
}
.tablinks .img-box img{
    max-width: 65px;
}

.tablinks .title-box{
    width: 70%;
    float: left;
}
.tablinks .title-box h3{
    margin-bottom: 0px;
    line-height: 26px;
    text-align: left;
    margin-left: 15px;
    margin-top: 20px;
    color: #fff;
    min-height: 78px;
}


.grecaptcha-badge{display: none!important;}

.tab {
    overflow: hidden;
    /* background-color: #f1f1f1; */
    background-color: #25247B;
}

.tab .tablinks {
    background-color: gray;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

.tab .tablinks:hover {
    background-color: transparent;
    background-color: #25247B;
}

.tab .tablinks.active {
    background-color: #25247B;
}

/* Style the tab content */
.tabcontent {
    display: none;
    border-top: none;
}

.tabcontent {
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s; /* Fading effect takes 1 second */
}
.tabcontent .tabContentImg-box .fusion-column-wrapper{
    min-height: 800px!important;
}
@-webkit-keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

#tabs-1.cust-center .fusion-builder-row.fusion-row.fusion-flex-align-items-center,
#tabs-2.cust-center .fusion-builder-row.fusion-row.fusion-flex-align-items-flex-start,
#tabs-3.cust-center .fusion-builder-row.fusion-row.fusion-flex-align-items-flex-start,
#tabs-4.cust-center .fusion-builder-row.fusion-row.fusion-flex-align-items-center {
    margin-left: 0!important;
    margin-right: 0!important;
    margin: 0 auto!important;
}

@media only screen and (max-width: 1024px) and (min-width: 641px)  {

    .tabContent-box .tab-nested {

    }
}



@media only screen and (max-width: 1024px) { /* nastavit šířku layoutu pro tablet !!!! */

/*     .tab .tablinks {
        display: flex;
        flex-direction: column; 
        align-self: center;
    } */

    .tablinks .img-box {
        width: 40%;
        align-self: center;
    }

/*     .tablinks .title-box {
        display: flex !important;
        justify-content: center;
      } */

    .tablinks .title-box h3 {
        font-size: 25px;

    }
}

/*-------------tabs - END ------------------*/

/* Reference */ 

.reference .reference-img img {
    height: 120px!important;
    width: auto!important;
    object-fit: contain!important;
}

/* .reference .reference-img span.fusion-imageframe:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.2);
} */

.reference .reference-img span.fusion-imageframe {
    filter: grayscale(1);
    transition: 0.25s ease all;
    transform: scale(1);
}

.reference .reference-img:hover span.fusion-imageframe {
    filter: grayscale(0);
    transform: scale(1.2);
}


/* Kontakt */

.cust-contact-form-col .fusion-title-12 {
    width: 115%!important;
}

.cust-checklist-margin .fusion-li-item {
    margin-bottom: 15px;
}

span.title_small {
    font-size: 18px!important;
}

.kontakt-col-left {
    position: relative;
}

.kontakt-col-left::before {
    content: "";
    position: absolute;
    bottom: -45%;
    right: 75%;
    width: 47%;
    height: 50%;
    background: url(/wp-content/uploads/2022/08/logosvg.svg) no-repeat;
    background-size: contain;
    opacity: 0.1;
    z-index: -1;
}
