/*
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
*/

.fusion-sticky-transition .logo img {
    max-height: 70px !important;
    width: auto !important;
}


/* sluzby */

#sluzby1 svg {
    width: 50px;
    height: auto;
    fill: var(--awb-color5) !important;
}


#sluzby2 .sluzby2_icon {
    width: 60px;
    height: 60px;
    padding: 10px;
    background-color: var(--awb-color4) !important;
    border-radius: 100%;
    margin-bottom: 16px;
    display: block;
}

#sluzby2 svg {
    width: 100%;
    height: auto;
    fill: var(--awb-color5) !important;
    transition: 0.25s ease all;
}

.sluzby1_box > div,
.sluzby1_box .fusion-button,
.sluzby2_box > div,
.sluzby2_box .fusion-title h3,
.sluzby2_box .fusion-button {
    transition: 0.25s ease all;
}

.sluzby1_box .fusion-button {
    opacity: 0;
}

.sluzby1_box:hover .fusion-button {
    opacity: 1;
}

#sluzby1 .sluzby1_box:hover svg {
    fill: var(--awb-color4) !important;
}

.sluzby1_box:hover > div {
    background-color: var(--awb-color5);
}

.sluzby2_box >div::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: var(--awb-color5);
    transition: 0.25s ease all;
    z-index: 0;
}

.sluzby2_box > div > * {
    position: relative;
    z-index: 20;
}

.sluzby2_box:hover > div::after {
    height: 100%;
}

#sluzby2 .sluzby2_box:hover svg {
    fill: var(--awb-color1) !important;
}

#sluzby2 .sluzby2_box:hover .fusion-title h3,
#sluzby2 .sluzby2_box:hover .fusion-button * {
    color: var(--awb-color1) !important;
}

#vyhody2 svg {
    width: 65px;
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
}

#vyhody1 svg {
    width: 60px;
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
    fill: var(--awb-color5) !important;
}

.grid_about1 {
    position: absolute;
    transform: scale(2.2);
    right: -275px;
    bottom: -351px;
}

.grid_about2 {
    position: absolute;
    transform: scale(2.2) rotate(6deg);
    left: -219px;
    bottom: -381px;
}

.grid_about1 circle {
    fill: var(--awb-color4) !important;
}

#galerie2 {
    position: relative;
}

#galerie2 > .fusion-builder-row {
    position: static !important;
}

.galerie-img__wrapper{
    position: absolute !important;
    left: 50%;
    right: 0;
    top: 100px;
    bottom: 100px;
}

.galerie-img__wrapper .fusion-builder-row{
    height: 100%;
}

.galerie-img__wrapper .fusion-layout-column,
.galerie-img__wrapper .fusion-layout-column div,
.galerie-img__wrapper .fusion-layout-column .fusion-imageframe,
.galerie-img__wrapper .fusion-imageframe img{
    height: 100%;
} 

.galerie-img__wrapper .fusion-imageframe{
    width: 100%;
    display: block;
}

.galerie-img__wrapper .fusion-layout-column .fusion-imageframe img{
    width: 100%;
    object-fit: cover;
}

body:not(.home) .aktualita1 > div {
    background-color: #ededed;
}

.aktualita1 {
    transition: 0.25s ease all
}

.aktualita1:hover {
    transform: scale(1.02);
}

.fusion-text a,
.fusion-li-item-content a {
    text-decoration: underline;
}

.fusion-text a:hover,
.fusion-li-item-content a:hover {
    text-decoration: none;
}

.kontaktujte_nas2 {
    position: absolute !important;
    right: calc(50% - var(--site_width)/2 - 35px);
    top: 60px;
    z-index: 10;
}

.kontaktujte_nas2 > div {
    box-shadow: 0 6px 12px 0 rgba(0,0,0,0.20);
}

@media (max-width: 1024px) {
    .galerie-img__wrapper{
        position: relative !important;
        left: auto;
        right: 0;
        top: auto;
        bottom: auto;
    }

    .grid_about1,
    .grid_about2 {
        display: none;
    }
    .kontaktujte_nas2 {
        position: relative !important;
        right: auto;
        top: auto;
    }
    
    .kontaktujte_nas2 > div {
        box-shadow: none;
    }
}



@media (max-width: 800px) {
    .fusion-menu-element-wrapper.collapse-enabled.mobile-size-full-absolute:not(.mobile-mode-always-expanded).expanded>ul {
        margin-top: 56px!important;
    }
}