/*
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
*/

/* GLOBAL */
.post-content .p__nomargin p {
    margin-block-end: 0em !important;
    margin-block-start: 0em !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.col__backdrop-blur_px-4.fusion-layout-column > .fusion-column-wrapper,
.i__backdrop-blur_px-4.fb-icon-element  {
    backdrop-filter: blur(4px);
}

.col__imgfill .fusion-column-wrapper,
.col__imgfill .fusion-column-wrapper .fusion-image-element,
.col__imgfill .fusion-column-wrapper .fusion-image-element .fusion-imageframe,
.col__imgfill .fusion-column-wrapper .fusion-image-element .fusion-imageframe img  {
    width: 100%;
    height: 100%;
}

.col__imgfill .fusion-column-wrapper .fusion-image-element .fusion-imageframe img {
object-fit: cover;
object-position: center center;
}
.col__imgfill.col__imgfill-absolute > .fusion-column-wrapper {position: relative}
.col__imgfill.col__imgfill-absolute .fusion-image-element {
    position: absolute;
    top:0;
    left: 0;
    overflow: hidden;
}

.minh_px-600 {min-height: 600px}

#wrapper #main .cont__fw_pl.fusion-fullwidth.fullwidth-box > .fusion-builder-row.fusion-row,
.cont__fw_pl.fusion-fullwidth.fullwidth-box > .fusion-builder-row.fusion-row {
    padding-left: calc((100vw - var(--site_width)) / 2 )
}
#wrapper #main .cont__fw_pr.fusion-fullwidth.fullwidth-box > .fusion-builder-row.fusion-row,
.cont__fw_pr.fusion-fullwidth.fullwidth-box > .fusion-builder-row.fusion-row {
    padding-right: calc((100vw - var(--site_width)) / 2 )
}

.col__fw_pl.fusion-layout-column > .fusion-column-wrapper {
    padding-left: calc( ( 100vw - var(--site_width) ) / 2 );
}
.col__fw_pr.fusion-layout-column > .fusion-column-wrapper {
    padding-right: calc( ( 100vw - var(--site_width) ) / 2 );
}

.cont__fw_p.fusion-fullwidth > .fusion-builder-row {
    padding-left: calc( ( 100vw - var(--site_width) ) / 2 );
    padding-right: calc( ( 100vw - var(--site_width) ) / 2 );
}

.col__grad_bottomleft.fusion-layout-column > .fusion-column-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    background: linear-gradient(24deg, rgba(8, 26, 48, 0.8) 0%, rgba(8, 26, 48,0.0) 100%);
    opacity: 0.7;
    transition: opacity 0.3s ease-in-out;
}

.col__textshadow .fusion-text, .col__textshadow .fusion-title {text-shadow: rgba(8, 26, 48,0.6) 0px 0px 16px;}

.col__row-stretch.fusion-layout-column > .fusion-column-wrapper > .fusion-builder-row {height: 100%;}

/*=== LINKY NAPŘÍČ WEBEM ====*/
html body #boxed-wrapper #wrapper #main .post-content, html body #boxed-wrapper #wrapper > .fusion-tb-header {
    position: relative;
}
html body #boxed-wrapper #wrapper .post-content {
    z-index: 1;
}
html body #boxed-wrapper #wrapper #main > .fusion-row .post-content::before, html body #boxed-wrapper #wrapper #main > .fusion-row .post-content::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    bottom: 0;
    background: var(--awb-custom_color_3);
    /* mix-blend-mode: luminosity; */
    pointer-events: none;
    opacity: 0.5;
    z-index: -1;
}

html body #boxed-wrapper #wrapper #main > .fusion-row .post-content::before {
    left: calc(((100vw - var(--site_width)) / 2 ) - 120px);
}

html body #boxed-wrapper #wrapper #main > .fusion-row .post-content::after {
    right: calc(((100vw - var(--site_width)) / 2 ) - 120px);
}
/* linky v headeru */
html body #boxed-wrapper #wrapper > .fusion-tb-header header > .fusion-builder-row {position: relative;}
html body #boxed-wrapper #wrapper > .fusion-tb-header header > .fusion-builder-row::before, html body #boxed-wrapper #wrapper > .fusion-tb-header header > .fusion-builder-row::after {
    content: '';
    position: absolute;
    content: '';
    position: absolute;
    width: 1px;
    height: calc(100% + 32px);
    top: -16px;
    bottom: -16px;
    background: var(--awb-custom_color_3);
    pointer-events: none;
    z-index: 2;
    opacity: 0.8;
}

html body #boxed-wrapper #wrapper > .fusion-tb-header header > .fusion-builder-row::before {
    left: calc(((100vw - var(--site_width)) / 2 ) - 75px);
}

html body #boxed-wrapper #wrapper > .fusion-tb-header header > .fusion-builder-row::after {
    right: calc(((100vw - var(--site_width)) / 2 ) - 75px);
}

/*====*/


header .fb-icon-element, footer .fb-icon-element {position: relative; margin: 0 !important}
header .fb-icon-element::after, footer .fb-icon-element::after {
    content: '';
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    position: absolute;
    left: 5px;
    top: 5px;
    background: rgba(256, 256, 256, 0.4);
    border-radius: 50%;
    border: var(--awb-color1) 1px solid;
    transition: opacity 0.5s;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

header::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 150%;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 26, 48,0.5) 0%, rgba(8, 26, 48,0) 100%);
  opacity: 0;
  transition: opacity 0.5s;
}
header.fusion-sticky-transition::before {
  opacity: 1;
}

header::after {
    content: '';
    position: absolute;
    height: 1px;
    width: 100vw;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--awb-color3);
    opacity: 0.5;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    transform: translateY(0px);
}
header.fusion-sticky-transition::after {
    transform: translateY(-200px);
    opacity: 0;
}

header .fb-icon-element:hover::after, footer .fb-icon-element:hover::after {
    opacity: 1;
}


/* button */
a.fusion-button { backdrop-filter: blur(8px)}
a.fusion-button .fusion-button-text {
      padding: 4px 0px 4px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

a.fusion-button .fusion-button-text::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 12px;
    width: 24px;
    height: 24px;
    background: url(/wp-content/uploads/2026/04/arrow-right_blue.svg) center center / contain no-repeat;
    z-index: 1;
}
a.fusion-button .fusion-button-text::after {
   content: '';
    position: relative;
    display: inline-flex;
    top: 0;
    right: 4px;
    width: 40px;
    height: 40px;
    background: var(--awb-color5);
    filter: saturate(0) invert(1) brightness(3);
    border-radius: 50px;
    margin-left: 8px;
    z-index: 0;
    transition: all 0.5s;
}

a.fusion-button:hover .fusion-button-text::after {
    filter: none;
}

a.fusion-button:hover .fusion-button-text::before {
    background: url(/wp-content/uploads/2026/04/arrow-right_white.svg) center center / contain no-repeat;
}

/* button small */
a.fusion-button.button-small {
    padding: 0px;
}
a.fusion-button.button-small  .fusion-button-text::before {width: 16px; height: 16px; right: 8px;}
a.fusion-button.button-small .fusion-button-text::after {width: 24px; height: 24px;}

/* linka před CTA */
.fusion-layout-column > .fusion-column-wrapper div:has(> a.btn_linebefore) {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}
.fusion-layout-column > .fusion-column-wrapper div:has(> a.btn_linebefore)::before {
    content: '';
    display: inline-flex;
    position: relative;
    width: auto;
    height: 2px;
    background: var(--awb-color1);
    flex: 1;
}

/*==== HOVER EFEKTY ===*/
/*== button s linkou v boxu ==*/
/*content*/
.col__hover_cta-appear .fusion-title.nadpis,
.col__hover_cta-appear .fusion-text.podnadpis {
    transform: translateY(60px);
    transition: transform 0.3s ease-in-out;
}
.col__hover_cta-appear:hover .fusion-title.nadpis,
.col__hover_cta-appear:hover .fusion-text.podnadpis {
    transform: translateY(0px);
} 
/* cta div */
.col__hover_cta-appear div:has(> a.btn_linebefore) {
    transform: translateY(60px);
    transform-origin: left;
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 24px 40px;
    backdrop-filter: blur(4px);
    background-color: rgba(256,256,256,0.2);
}
 .col__hover_cta-appear:hover div:has(> a.btn_linebefore) {
    transform: rotateX(0deg) translateY(0px);
    opacity: 1;
} 
/* linka */
.col__hover_cta-appear > .fusion-column-wrapper div:has(> a.btn_linebefore)::before {
    transform: scaleX(0);
    transform-origin: left;
    opacity: 1;
    transition: transform 0.15s 0.4s ease-in-out, opacity 0.3s ease-in-out;
}
.col__hover_cta-appear:hover > .fusion-column-wrapper div:has(> a.btn_linebefore)::before {
    transform: scaleX(1);
    opacity: 1;
}
/* btn */
.col__hover_cta-appear > .fusion-column-wrapper a.btn_linebefore { opacity: 0; transition: opacity 0.3s 0.5s ease-in-out; float: right}
.col__hover_cta-appear:hover > .fusion-column-wrapper a.btn_linebefore { opacity: 1}

.col__hover_cta-appear:hover > .fusion-column-wrapper a.btn_linebefore .fusion-button-text::before { background: url('/wp-content/uploads/2026/04/arrow-right_white.svg') center center / contain no-repeat }
.col__hover_cta-appear:hover > .fusion-column-wrapper a.btn_linebefore .fusion-button-text::after { filter: none;}

/*=== gradient v boxu ===*/
.col__hover_grad_bottomleft_darker.fusion-layout-column:hover > .fusion-column-wrapper::before {opacity: 1;}


/*====== CAROUSEL ====*/
.fusion-post-cards.awb-carousel.arrows-bottom {
    padding-bottom: 80px;
}

.fusion-post-cards.awb-carousel.arrows-bottom .awb-swiper-button.awb-swiper-button-prev,
.fusion-post-cards.awb-carousel.arrows-bottom .awb-swiper-button.awb-swiper-button-next {
    top: unset;
    bottom: 0px;
}

.fusion-post-cards.awb-carousel.arrows-bottom .awb-swiper-button.awb-swiper-button-prev {
    left: unset;
    right: 54px;
}

.awb-swiper-button-next, .awb-swiper-button-prev {
    opacity: 1 !important;
}


/*==== REFERENCE ====*/
.col__reference .fusion-image-element:has(.reference-img) {
    height: 420px;
}
.col__reference .fusion-image-element:has(.reference-img) .fusion-imageframe, .col__reference .fusion-image-element:has(.reference-img) .fusion-imageframe img {
    width: 100%;
    height: 100%;
}

.col__reference .fusion-image-element:has(.reference-img) .fusion-imageframe img {
    object-fit: cover;
}

.col__reference .info {
    padding: 24px 40px;
    position: relative;
    flex: 1;
    min-height: 180px;
}

.col__reference .info::before,
.col__reference div:has(> a.btn_linebefore)::after {
    content: '';
    position: absolute;
    width: calc(100% - 40px);
    height: calc(100% - 20px);
    border: var(--awb-color3) 1px solid;
    top: 20px;
    left: 20px;
    pointer-events: none;
}

.col__reference .info::before {
    top: 20px;
    left: 20px;
    border-bottom: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.col__reference div:has(> a.btn_linebefore) {
   padding: 24px 50px 40px 50px;
}

.col__reference div:has(> a.btn_linebefore)::after {
    top: 0px;
    left: 20px;
    border-top: none;
}

.col__reference:hover .info::before {
    opacity: 1;
}

/* cta div */
.col__hover_cta-appear-top div:has(> a.btn_linebefore) {
    transform: translateY(-60px);
    transform-origin: center;
}

/**/
.col__hover_img-gradtop .col__reference_featuredimg > .fusion-column-wrapper {position: relative;}
.col__hover_img-gradtop .col__reference_featuredimg > .fusion-column-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(8, 26, 48, 0.8) 0%, rgba(8, 26, 48,0.0) 100%);
    z-index: 5;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.col__hover_img-gradtop:hover .col__reference_featuredimg > .fusion-column-wrapper::before {
    opacity: 1;
    transform: translateY(0px);
}
.col__hover_imgscale .col__reference_featuredimg img {
    transform: scale(1);
    transition: transform 0.3s ease-in-out
}
.col__hover_imgscale:hover .col__reference_featuredimg img {
    transform: scale(1.05);
}

/*==== FOOTER ===*/



/* RESPO */

@media (max-width: 480px) {
  .h1_respo {
    font-size: 60px !important;
  }
}

@media (max-width: 888px) {
  .h2_respo {
    font-size: 42px !important;
  }
}

@media (max-width: 888px) {
  .cta_font {
    font-size: 17px !important;
  }
}

@media (max-width: 850px) {
  .h1_o_nas {
    font-size: 42px !important;
  }
}


@media (min-width: 638px) and (max-width: 1186px) {
  .h1_o_nas {
    font-size: 50px !important;
  }
}


/* COOKIES */
.fworks_consent_modal_header h2 {
    font-size: 36px;
  }
  
  .fworks_consent_description h3 {
    font-size: 26px;
  }



