/*
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:  FORTEK
*/

/* GT */
.gtranslate_wrapper {
    width: 150px!important;
    display: flex!important;
    justify-content: flex-end!important;
    flex-wrap: wrap!important;
    gap: 20px!important;
}

#main .fusion-row {
    z-index: 9 !important;
}

.display-none {
    display: none !important;
}

/********* Cookies *********/

.fworks_consent_bar_mini-inner{
    display: inline-block !important;
}

.fworks_consent_bar_mini-inner>span{
    text-decoration: none;
}

.fworks_consent_modal_header .fworks_consent_modal_close{
    top: 15px;
}

.fworks_consent_modal_content .fworks_consent_modal_header{
    padding-top: 2.5rem;
}

.fworks_consent_modal_content .fworks_consent_modal_header h2{
    font-size: 36px;
}

.fworks_consent_modal_content .fworks_consent_modal_body h3{
    font-size: 26px;
}
    

/*------------------BUTTON---------------------*/

/* velké tlačítko červené*/

.btn-prim {
    /* width: 100%; */
    background: var(--awb-color3)!important;
    width: max-content;
}

.btn-prim.form {
    width: 100%!important;
}


.btn-prim span {
    position: relative;
    overflow: visible;
    z-index: 999!important;
}

.btn-prim:not(.form) span::before {
    position: absolute;
    content: '';
    background: var(--awb-color3);
    width: calc(100% + 4rem);
    height: calc(100% + 2rem);
    top: -1rem;
    left: -2rem;
    z-index: -2;
}

.btn-prim:not(.form) span::after,
div.fusion-form-field button.btn-prim::after{
    position: absolute;
    content: '';
    background: var(--awb-color7);
    width: calc(100% + 4rem);
    height: calc(100% + 2rem);
    top: -1.5rem;
    left: 10%;
    transition: all 0.5s;
    opacity: 0;
    z-index:-1!important;
}

div.fusion-form-field .btn-prim{
    overflow: hidden;
}


.btn-prim:not(.form):hover span::after,
div.fusion-form-field .btn-prim:hover::after {
    top: -1rem;
    left: -2rem;
    opacity: 1;
}

div.fusion-form-field .btn-prim:hover::after{
    z-index: 10 !important;
}

/* malé tlačítko červené */
.btn-prim.btn-small span::before {
    width: calc(100% + 2rem);
    height: calc(100% + 1rem);
    top: -0.5rem;
    left: -1rem;
}

.btn-prim.btn-small span::after {
    width: calc(100% + 2rem);
    height: calc(100% + 1rem);
}

.btn-prim.btn-small:hover span::after {
    top: -0.5rem;
    left: -1rem;
    opacity: 1;
}

/* ------------- NADPISY ---------------- */

.headline-left  {
    position: relative;
    z-index: 2;
}

.headline-left::before {
    position: absolute;
    content: '';
    width: 7rem;
    height: 7rem;
    border: var(--awb-color3) 0.125rem solid;
    top: -1.25rem;
    left: -1rem;
    z-index: -1 !important;
}

.headline-left::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0rem;
    left: 0rem;
    background: var(--awb-color2);
    z-index: -1 !important;
}

.headline-left.headline-whitebcg::after {
    background: var(--awb-color1);
}

.headline-left.headline-whitebcg {
    width: max-content!important;
}


/*-------------------HEADER------------------------*/
.container_header .header_logo {
    width: 225px !important;
}

#menu-header-hp-menu li span {
    transition: all 0.5s;
}

#menu-header-hp-menu li span::before {
    content: '';
    position: absolute;
    background: var(--awb-color8);
    width: 0rem !important;
    height: 0rem !important;
    border: var(--awb-color8) 0.125rem solid;
    top: 50%;
    left: 50%;
    z-index: -1;
    transition: all 0.5s;
}

#menu-header-hp-menu li:hover span::before {
    width: 3rem !important;
    height: 3rem !important;
    border: var(--awb-color3) 0.125rem solid;
    top: calc(50% - 1.625rem) !important;
    left: calc(50% - 1.5rem) !important;
}

#menu-header-hp-menu li:hover span {
    text-shadow: rgba(0,0,0,0.25) 0.25rem 0.25rem 0.25rem;
}

.hero-content .fusion-column-wrapper{
    align-items: center !important;
}

.hero-k-symbol{
    rotate: -90deg;
}

/* respo */
@media only screen and (max-width: 1024px) and (min-width: 500px)  {
    .headerNested .fusion-column-wrapper nav {
        order: 2!important;
        width: 150px;
    }
}

@media only screen and (max-width: 499px) and (min-width: 320px) {
    .headerNested .fusion-column-wrapper div {
        display: none!important;
    }
}

/*----------------------HERO-----------------------*/
.fusion-layout-column.fusion_builder_column.fusion-builder-column-1.fusion_builder_column_1_2.fusion-flex-column.hero-content.hero-content {
    position: relative !important;
    width: 20rem !important;
    height: 20rem !important;
    padding: 1rem !important;
}

body .hero-content::before {
    content: '';
    position: absolute;
    background: var(--awb-color8);
    border: var(--awb-color1) 0.125rem solid;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

span.chevronline,
div.doublechevron-wrap  {
    position: absolute !important;
}

span.chevronline::before {
    content: '';
    background: var(--awb-color1);
    width: 0.125rem;
    height: 3rem;
    top: 0;
    left: 0;
    z-index: 3;
}

.doublechevron-wrap svg {
    width: 2rem !important;
    height: 2rem !important;
    fill: var(--awb-color1) !important;
}

/*-------------------------SLUŽBY---------------------------*/
.column_sluzby .fusion-column-wrapper {
    overflow: hidden;
}

.column_sluzby svg {
    width: 4rem;
    height: 4rem;
    fill: var(--awb-color4)
}

.structure-bcg {
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 0.5s;
    filter: brightness(0.9)
    }

    
.structure-bcg svg {
    width: 100%;
    height: 100%;
}

.column_sluzby:hover .structure-bcg {
    transform: rotateZ(25deg) scale(2);
    filter: brightness(0.7);
}

.column_sluzby:hover h2 {
    color: var(--awb-color1) !important;
} 





/*--------------O NÁS ----------*/



.container-onas {
    padding-left: calc( ( 100% - var(--site_width) ) / 2 ) !important;
}

.onas-img-2 .fusion-column-wrapper {
    position: absolute;
    top: -14rem;
    left: -27%;
}

.onas-img-2 span {
    border: 8px solid var(--awb-color1);
    max-width: 40rem;
    box-shadow: rgba(0,0,0,0.15) 0.25rem 0.25rem 1rem 0.5rem;
}

/* respo */
@media only screen and (max-width: 1024px) and (min-width: 641px)  {
    .container-onas {
        padding-left: 30px!important;
    }

    .onas-img-2 .fusion-column-wrapper {
        position: relative;
/*         top: -10rem;
        left: 10rem; */
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-70%);
        height: 500px !important;
    }

    .onas-img-2 .fusion-column-wrapper span,
    .onas-img-2 .fusion-column-wrapper img {
        height: 500px!important;
        object-fit: cover!important;
    }

    .onas-img-2 span {
        max-width: 100%!important;
    }
}

@media only screen and (max-width: 640px) and (min-width: 320px)  {
    .container-onas {
        padding-left: 30px!important;
    }
    
    .onas-img-2 .fusion-column-wrapper {
        position: relative;
        top: -10rem;
        left: 0rem;
        height: 500px !important;
    }
}

/*----------------REFERENCE------------------*/
.column-reference {
    height: 20rem !important;
    width: 20rem !important;
   
}

.column-reference .fusion-column-wrapper::before {
    content: '';
    position: absolute;
    background: rgba(0,0,0,0.4);
    width: 0%;
    height: 100%;
    top: 0;
    left: 0;
    transition: all 0.5s;
    z-index: -1;
}

.column-reference:hover .fusion-column-wrapper::before {
    width: 100%;
}

.column-reference .fusion-column-wrapper {
    overflow: hidden;
}

.reference-cta p span {
    position: relative;
}

.reference-cta p span::after {
    position: absolute;
    content: '';
    width: calc(100% + 1rem);
    height: calc(100% + 1rem);
    top: -0.5rem;
    left: 150%;
    background: var(--awb-color7);
    z-index: -1;
    transition: all 0.5s;
    opacity: 0;
}

.reference-cta p span {
    text-shadow: rgba(255, 255, 255, 0.25) 0.25rem 0.25rem 0.25rem;
}

.column-reference:hover .reference-cta p span {
    color: var(--awb-color1);
}

.column-reference:hover .reference-cta p span::after {
    left: -0.5rem !important;
    opacity: 1;
}

.column-reference h3 p {
    text-shadow: rgba(0, 0, 0, 0.25) 0.25rem 0.25rem 0.25rem !important;
}
   

/*-------KONTAKTY---------*/
.kontakty-headline {
    position: relative;
}

.kontakty-headline::before {
    content: '';
    position: absolute;
    width: 0.125rem;
    height: 100%;
    background: var(--awb-color3);
    right: 0rem;
    top: 0;
}

.kontakty-headline::after {
    content: '';
    position: absolute;
    width: 2rem;
    height: calc(100% - 0.125rem);
    top: -0.0625rem;
    right: -1.875rem;
    border-top: var(--awb-color3) 0.125rem solid;
    border-bottom: var(--awb-color3) 0.125rem solid;
}

.kontakt-mapa .fusion-column-wrapper {
    position: absolute !important;
    width: 150% !important;
    height: 100%;
    top: 0;
    left: -20%;
}

@media screen and (max-width: 1024px) {
    .kontakt-mapa{
        min-height: 235px;
        position: relative;

        > div.fusion-column-wrapper{
            width: calc( 100% + 4rem ) !important;
            left: -2rem;
        }
    }
}

.homepage-kontakt-col_2>.fusion-column-wrapper>.fusion-builder-row:last-child{
    margin-top: 2rem;
}

@media only screen and (max-width: 640px){
    .kontakty-headline::before,
    .kontakty-headline::after {
        content: none;
    }
}

.sluzbyPodstrankyContent-col .sluzby-svg-wrap {
    position: absolute;
    top: 25px;
    right: 25px;
}

.sluzbyPodstrankyImg-col{
    justify-content: center;
}

/************* GDPR *************/

.gdpr-text-container h3{
    color: var(--awb-color7) !important;
}


/************** REFERENCE - PRUMYSLOVE PODLAHY **************/

.reference-pc{
    box-shadow: 0.235rem 0.25rem 16px 10px rgba(0,0,0,0.15) !important;
    height: 20rem !important;
    width: 20rem !important;
    position: relative;
    margin-left: 2rem;
    margin-right: 2rem;
    
}

.fusion-post-cards li.fusion-grid-column.reference-pc{
    margin-bottom: 4rem !important;
}

.reference-pc .fusion-column-wrapper::before {
    content: '';
    position: absolute;
    background: rgba(0,0,0,0.4);
    width: 0%;
    height: 100%;
    top: 0;
    left: 0;
    transition: all 0.5s;
    z-index: -1;
}

.reference-pc:hover .fusion-column-wrapper::before {
    width: 100%;
}

.reference-pc .fusion-column-wrapper {
    overflow: hidden;
}

.reference-pc .reference-cta p span {
    position: relative;
    margin-right: 20px;
}

.reference-pc .reference-cta p span::after {
    position: absolute;
    content: '';
    width: calc(100% + 1rem);
    height: calc(100% + 1rem);
    top: -0.5rem;
    left: 150%;
    background: var(--awb-color7);
    z-index: -1;
    transition: all 0.5s;
    opacity: 0;
}

.reference-pc .reference-cta p span {
    text-shadow: rgba(255, 255, 255, 0.25) 0.25rem 0.25rem 0.25rem;
}

.reference-pc:hover .reference-cta p span {
    color: var(--awb-color1);
}

.reference-pc:hover .reference-cta p span::after {
    left: -0.5rem !important;
    opacity: 1;
}

.reference-pc h3 p {
    text-shadow: rgba(0, 0, 0, 0.25) 0.25rem 0.25rem 0.25rem !important;
}