/*
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:  PODZIMEK
*/


/* header */

.fusion-menu-element-wrapper.collapse-enabled {
    justify-content: flex-end!important;
}

.fusion-sticky-transition {
    box-shadow: rgba(0,0,0,0.25) 0.125rem 0.125rem 1rem;
}

.fusion-sticky-transition li span {
    color: var(--awb-color5) !important;
}

.fusion-sticky-transition li:hover span {
    color: var(--awb-color1) !important;
}

/*-------------------------BUTTONY--------------------*/
.btn-prim span {
    position: relative;
}

.btn-prim span::before {
    position: absolute;
    content: '';
    width: calc(100% + 4rem);
    height: calc(100% + 2rem);
    left: -2rem;
    bottom: -1rem;
    background: var(--awb-color4);
    z-index: -1;
    transform: skewX(-13deg) rotateZ(0deg);
    transition: all 0.5s;
}

.btn-prim span::after {
    position: absolute;
    content: '';
    width: calc(100% + 4rem);
    height: calc(100% + 2rem);
    left: -2rem;
    bottom: -1rem;
    background: var(--awb-color5);
    z-index: -2;
    transform: skewX(-13deg) rotateZ(0deg);
    transition: all 0.5s;
}

.btn-prim:hover span::before {
    transform: skewX(0deg) rotateZ(5deg) !important;
}

.btn-prim:hover span::after {
    transform: skewX(10deg) rotateZ(-5deg) !important;
}


/*---------------------------------------------HOMEPAGE---------------------------------------------------------*
/* menu */
.main-header .main-menu li span, .subpage-header .main-menu li span{
    position: relative;
}

.main-header .main-menu li span::before, .subpage-header .main-menu li span::before {
    position: absolute;
    content: '';
    background: var(--awb-color4);
    width: 0;
    height: calc(100% + 0.12rem);
    top: -0.06rem;
    left: -0.5rem;
    z-index: -1;
    transition: all 0.5s;

}

.main-header .main-menu li:hover span::before, .subpage-header .main-menu li:hover span::before {
    width: calc(100% + 1rem);
}

.main-header.fusion-sticky-transition{
    background-image: none !important;
}


/* Subpage header */

header.subpage-header{
    transition: all 0.2s linear !important;
}

.subpage-header::before{
    content: '';
    position: absolute;
    height: 8rem;
    width: 0.125rem;
    background-color: var(--awb-color4);
    left: 50%;
    top: 70%;
}

.fusion-sticky-transition.subpage-header::before{
    content: none;
}

.subpage-header.fusion-sticky-transition li span {
    color: var(--awb-color1) !important;
}

.subpage-header.fusion-sticky-transition{
    padding-bottom: 2rem !important;
}

/* hero */
.hero-nadpis {
    position: relative;
}

.hero-nadpis::before {
    position: absolute;
    content: '';
    width: 25%;
    height: 0.0625rem;
    left: 0%;
    top: 50%;
    z-index: 1;
    pointer-events: none;
    background: var(--awb-color1);
}

.hero-nadpis::after {
    position: absolute;
    content: '';
    width: 25%;
    height: 0.0625rem;
    right: 0%;
    top: 50%;
    z-index: 1;
    pointer-events: none;
    background: var(--awb-color1);
}

.hero-svg {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
}

.hero-svg #herochevron {
    width: 100%;
    height: 3rem;
    fill: var(--awb-color1);
    animation: chevronfloat 3s infinite reverse;
}

@keyframes chevronfloat {
    0% { transform: translateY(0rem); }
    50% { transform: translateY(-1rem); }
    100% { transform: translateY(0rem); }
}

/* služby */
.column-sluzby .fusion-column-wrapper {
    position: relative;
}

.column-sluzby .fusion-column-wrapper::before,
.column_reference > .fusion-column-wrapper::before {
    position: absolute;
    content: '';
    background: var(--awb-color4);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: all 0.5s;
    z-index: -1;
}

.column_reference > .fusion-column-wrapper::before {
    background: var(--awb-color5);
}

.column-sluzby .fusion-column-wrapper::after,
.column_reference > .fusion-column-wrapper::after {
    position: absolute;
    content: '';
    background: var(--awb-color1);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: all 0.5s;
    z-index: -1;
}


.column-sluzby:hover .fusion-column-wrapper::before,
.column_reference:hover > .fusion-column-wrapper::before {
    transform: skew(-10deg) rotate(2deg);
}

.column_reference:hover > .fusion-column-wrapper::before {
    transform: skew(-7deg) rotate(2deg);
}

.column-sluzby:hover .fusion-column-wrapper::after,
.column_reference:hover > .fusion-column-wrapper::after {
    background: var(--awb-color2);
}

.column-sluzby:hover .column-sluzby-cta,
.column_reference:hover .column-sluzby-cta {
    color: var(--awb-color4);
}


.column_sluzbytext {
    transform: rotateZ(-10deg);
    position: relative;
}

.column_sluzbytext::before {
    content: '';
    position: absolute;
    background: var(--awb-color3);
    opacity: 0.75;
    width: 300%;
    height: 300%;
    top: -22rem;
    left: -60rem;
    z-index: -1;
    transform: rotate(45deg);
}


.headline-leftdec {
    position: relative;
    z-index: 1 !important;
    overflow: visible;
}

.headline-leftdec::before {
    position: absolute;
    content: '';
    height: 0.125rem;
    width: 3rem;
    background: var(--awb-color4);
    left: -5rem;
    bottom: 60%;
    z-index: -1;
}

.headline-leftdec::after {
    position: absolute;
    content: '';
    height: 0.125rem;
    width: 50%;
    background: var(--awb-color4);
    right: -5rem;
    bottom: 30%;
    z-index: -1;
}

.headline-leftondec {
    width: 65% !important;
}

body .headline-leftonlydec {
    width: 65% !important;
}

.headline-leftondec .title-heading-left {
    width: 100% !important;
}

.headline-leftonlydec::before {
    position: absolute;
    content: '';
    height: 0.125rem;
    width: 5rem;
    background: var(--awb-color4);
    left: -0.5rem;
    top: 34%;
    z-index: 0;
}

.column-onas p {
    margin-bottom: 0 !important;
}

.headline-centerdec {
    position: relative;
}

.headline-centerdec::before {
    position: absolute;
    content: '';
    height: 12rem;
    width: 0.125rem;
    background: var(--awb-color4);
    left: 50%;
    top: -327%;
    z-index: 0;
}

/* reference */
.reference-img {
    height: 15rem !important;
}

.reference-img span {
    height: 100% !important;
}

.column_reference:hover .reference-headline {
    color: var(--awb-color4) !important;
}

.column_reference .fusion-builder-row {
    height: 100% !important;
}

/* O firmě */

.o_firme-text_col>.fusion-column-wrapper{
    z-index: -2;
}

/* Footer */

footer .fworks_consent_bar_mini-inner{
    display: inline-block;
}

footer .fworks_consent_bar_mini-inner span{
    color: var(--awb-color6);
    text-decoration: none;
}

footer .fworks_consent_bar_mini-inner span:hover{
    color: var(--awb-color4);
}