/*
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
*/
/* HEADER */

/* TABS */

.tab-name {
    display: none !important;
}

.rozcestnik-reference-content h2,
.rozcestnik-reference-content h3 {
    min-height: 58px;
}


.tab-content.active {
    opacity: 1;
    pointer-events: all;
    transform: scale(1) !important;
    animation: scale-up 1000ms ease;
    animation-fill-mode: forwards;
    padding: 0 0 44px 0;
    border-radius: 30px;
    margin: 35px 5px 0 !important;
    position: static !important;
    top: 0;
    left: 0;
}

.tab-content {
    transform: scale(0);
    position: absolute !important;
    top: 0;
    left: 0;
}

@keyframes scale-up {
	0% {
		opacity: 0;
		transform: scale(0);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

.tabs .tab-btn {	
	cursor: pointer;
    padding-top: var(--button_padding-top,13px);
    padding-right: var(--button_padding-right,29px);
    padding-bottom: var(--button_padding-bottom,13px);
    padding-left: var(--button_padding-left,29px);
    display: inline-block;
    position: relative;
    background-color: var(--awb-color5) !important;
    color: var(--awb-color1) !important;
    font-weight: 500;
    transition: all 200ms ease;
    margin-left: 20px;
    border-radius: 50px;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.tabs .tab-btn:hover {
	background-color: var(--awb-color4) !important;
    transition: all 200ms ease;
}

.tabs .tab-btn.active {
	color: var(--awb-color1) !important;
    transition: all 200ms ease;
    background-color: var(--awb-color4) !important;
}

.dark_form label {
    color: #fff !important;
}

.fusion-form-field {
    margin-top: 0 !important;
}

header .checklist-wrapper {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
    gap: 22px;
}

.fusion-sticky-transition {
    box-shadow: rgba(0,0,0,0.25) 0.125rem 0.125rem 1rem !important;
}
.custom-slider {
    overflow: hidden !important;
    background: var(--awb-custom_color_2);
    position: relative;
}

.custom-slider .fusion-builder-row {
    position: static !important;
}

.custom-slider .custom-slide {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0;
    opacity: 0;
    transition: 0.3s ease-in-out;
}

.custom-slider .custom-slide .fusion-column-wrapper > div,
.custom-slider .custom-slide .fusion-column-wrapper > div > span,
.custom-slider .custom-slide .fusion-column-wrapper div > span > img {
    width: 100% !important;
    height: 100% !important;
}

.custom-slider .custom-slide .fusion-column-wrapper div > span > img {
    object-fit: cover !important;
}

.custom-slider .custom-slide.active {
    z-index: 12;
    opacity: 1;
}

.custom-slider .custom-slider-content {
    z-index: 99;
}

.custom-slider .custom-slide .fusion-column-wrapper {
    margin: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
}

.custom-slider .custom-slide .fusion-column-wrapper:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(
        50deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.08) 100%
    );
    mix-blend-mode: overlay;
    z-index: 1;
}

.custom-slider .custom-slide .fusion-column-wrapper:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2;
}

.slider-nav-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 20px 15px;
    position: absolute;
    bottom: -60px;
    width: 100% !important;
}
.slider-nav-btn {
    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:not(:last-of-type) {
    margin-right: 10px;
}
.slider-nav-btn.active {
    transform: scale(1);
}

.slider-nav-btn {
    background: rgba(255, 255, 255, 0.5) !important;
}

.slider-nav-btn.active:before {
    background: var(--awb-custom_color_1) !important;
}

.slider-nav-btn: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.active:before {
    transform: scale(1);
}

.slider-nav-btn:not(.active):hover:before {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1);
}

.custom-slider {
    position: relative;
}

.custom-slider .fusion-button {
    outline: 3px solid rgba(255,255,255,0.5) !important;
    transition: all 1000ms cubic-bezier(0.19, 1, 0.22, 1);
}

.custom-slider .fusion-button:hover {
    outline-color: rgba(255, 255, 255, 0) !important;
    outline-offset: 15px;
}

.controls {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	-webkit-transform: translateX(-50%) translateY(-50%) !important;
	-ms-transform: translateX(-50%) translateY(-50%) !important;
	transform: translateX(-50%) translateY(-50%) !important;
	z-index: 100 !important;
}

.arrows {
	position: relative;
	max-width: var(--full_width);
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	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;
	-webkit-transition: 0.25s ease all;
	-o-transition: 0.25s ease all;
	transition: 0.25s ease all;
	fill: var(--awb-color2);
	/* barva šipek */
}

.arrow-prev:hover svg,
.arrow-next:hover svg {
	opacity: 1;
}

.arrow-next svg {
	-webkit-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	transform: rotate(180deg);
}

.hero-pecet-wrap {
    position: absolute;
    display: flex;
    justify-content: center;
    right: -100px;
    bottom: -140px;
}

.hero-pecet {
    display: flex;
    justify-content: flex-end;
    transform: rotateZ(7deg);
    pointer-events: none !important;
}

.hero-pecet svg {
    width: 200px;
    height: 200px;
}

.custom-slider-content .fusion-builder-row.fusion-builder-row-inner {
    justify-content: center !important;
}

.custom-slide  .fusion-image-element  img {
    animation: sliderzoom 10s linear alternate infinite;
}

@keyframes sliderzoom {
    to { transform: scale(1.2)}
}


/* obecne */

.column_cta-sekce .fusion-column-wrapper {
    overflow: visible !important;
}

.img_shadow {
    box-shadow: 0 3px 12px 0 rgba(0,0,0,0.12);
}

.text_red {
    color: var(--awb-color4);
}

.p_nomargin p {
    margin-bottom: 0 !important;
}


/* usp */

.usp_container svg {
    display: block;
    margin: 0 auto 10px auto;
    width: 50px;
    height: 50px;
}

.usp_container svg path {
    fill: var(--awb-color5) !important;
}
.counter-box-container {
    border-radius: 12px;
}
.fusion-counters-box.counters-box.row{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.fusion-counters-box.counters-box.row > div{
    flex: 31%;
}

/* cta sekce */

.cta_sekce-img {
    position: absolute !important;
    width: 120%;
    height: auto;
    bottom: 0;
    left: -10%;

}

.cta_sekce-img img {
    width: 100%;
    height: 100%;

}

.form_cta-sekce label {
    margin-bottom: 0 !important;
}

/* cta pruh */
.container_cta-pruh .fusion-title {
    max-width: 750px;
}



/* reference */
.archive.post-type-archive.post-type-archive-reference #main {
    padding-top: 0 !important;
}
.radius .fusion-imageframe,
.radiuss .fusion-imageframe {
    border-radius: 12px !important;
}

.reference_homepage > div,
.reference_homepage h3,
.reference_homepage i {
    transition: 0.25s ease all !important;
}

.reference_homepage:hover > div {
    background-color: var(--awb-color5);
}

.reference_homepage:hover h3,
.reference_homepage:hover i {
    color: var(--awb-color1) !important;
}

/* volne pozice */

.fusion-content-tb > h2 {
    margin-top: 0 !important;
}

.volne_pozice_contact_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 20px;
}


.volne_pozice_contact_box p a {
    color: var(--awb-color1) !important;
}

.volne_pozice_sticky .fusion-form-field {
    margin-top: 0 !important;
}

/* REFERENCE */

/*-rozcestník-*/
.rozcestnik-reference-content {
    padding: 16px 24px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    height: 100%;
}

.rozcestnik-reference-content::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background: var(--awb-color4);
    top: 0px;
    left: 0;
}

.column_rozcestnik-reference .fusion-image-element  {
    height: 250px !important;
}

.column_rozcestnik-reference .fusion-image-element .fusion-imageframe,
.column_rozcestnik-reference .fusion-image-element .fusion-imageframe img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.column_rozcestnik-reference .fusion-title h3 {
    transition: all 0.5s;
}

.column_rozcestnik-reference:hover .fusion-imageframe img  {
    transform: scale(1.1);
}

.column_rozcestnik-reference:hover .fusion-title h3 {
    color: var(--awb-color4) !important;
}

/*- archiv referencí-*/
.column_rozcestnik-reference .rozcestnik-reference-content .fusion-text p {
    margin-bottom: 0px !important;
}
.reference-postcard .fusion-image-element  {
    height: 230px !important;
    position: relative;
}

.reference-postcard .fusion-image-element::before {
    content: 'Více fotografií';
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    top: calc(50% + 32px);
    left: 0%;
    font-size: 16px;
    color: var(--awb-color1);
    z-index: 2;
    opacity: 0;
    transition: all 0.5s;
}

.reference-postcard .fusion-image-element::after {
    content: '';
    position: absolute;
    background: url(/wp-content/uploads/2023/06/image-gallery.svg) center center no-repeat;
    width: 80px;
    height: 80px;
    top: calc(50% - 60px);
    left: calc(50% - 40px);
    z-index: 1;
    opacity: 0;
    transition: all 0.5s;
}

.reference-postcard .fusion-image-element .fusion-imageframe,
.reference-postcard .fusion-image-element .fusion-imageframe img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.reference-postcard .fusion-title,
.reference-postcard .reference-lokalita p  {
    position: relative;
    padding-left: 20px;
}

.reference-postcard .fusion-title::before {
    position: absolute;
    content: '';
    width: 4px;
    height: 100%;
    background: var(--awb-color4);
    top: 0;
    left: 4px;
}

.reference-postcard .reference-lokalita p::before {
    font-family: "Font Awesome 5 Free";
    position: absolute;
    font-weight: 900;
    content: "\f3c5";
    margin-right: 6px;
    left: 0px;
    top: 0;
    color: var(--awb-color4);
}

.reference-postcard:hover .fusion-imageframe img  {
    transform: scale(1.1);
    filter: brightness(0.5);
}

.reference-postcard:hover .fusion-title h2 {
    color: var(--awb-color4) !important;
}

.reference-postcard:hover .fusion-image-element::before,
.reference-postcard:hover .fusion-image-element::after {
    opacity: 1;
}


/* O nás */
.reference-klientu_tab .fusion-builder-row{
    gap: 40px;
    justify-content: center;
}
.reference-klientu_tab .fusion-builder-row > .fusion-layout-column{
    width: 47%;
}
.reference-klientu_content p:has(strong) {
    margin-bottom: 4px !important;
    color: var(--awb-color5);
}


/*----- KARIÉRA ----*/
.column_kariera .fusion-column-wrapper {
    position: relative;
}

.column_kariera .fusion-column-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0.25rem;
    background: var(--awb-color4);
    bottom: 0;
    left: 0;
    z-index: 2;
    border-bottom-right-radius: 12px 12px;
    border-bottom-left-radius: 12px 12px;
}

.column_kariera {
    transition: all 0.5s;
}

.column_kariera:hover {
    transform: scale(1.02);
}

.column_kariera:hover .fusion-title h3 {
    color: var(--awb-color4) !important;
}


/*----------- FOOTER --------------*/
#footer_pecet {
    width: 250px;
    height: 250px;
    transform: rotateZ(-9deg);
}

/*---------------- RESPO -------------*/
@media only screen and (max-width: 1330px) {
    .counter-boxes-custom.fusion-counters-box.counters-box.row {
        gap: 0px !important;
    }
}
@media only screen and (max-width: 1024px) {
    header .fusion-column-wrapper .checklist-wrapper {
        margin-bottom: 0.5rem !important;
    }

    .hero-pecet-wrap svg {
        width: 120px !important;
        height: 120px !important;
    }

    .counter-boxes-custom .fusion-counter-box {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .counter-boxes-custom.fusion-counters-box.counters-box.row {
        flex-direction: column !important;
        flex-wrap: unset !important;
        align-items: center !important;
    }

    #footer_pecet {
        width: 150px;
        height: 150px;
    }
}

@media only screen and (max-width: 640px) {
    .column_header-logo .fusion-column-wrapper {
        justify-content: center !important;
        margin-bottom: 0.5rem !important;
    }
    
    header .fusion-image-element  {
       width: 220px !important;
    }

    header .header_kontakt-menu .fusion-column-wrapper {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    header .header_kontakt-menu .checklist-wrapper {
        flex-wrap: nowrap !important;
        margin-bottom: 0px !important;
    }

    .hero-pecet-wrap {
        position: absolute;
        display: flex;
        justify-content: center;
        left: 50%;
        bottom: -230px;
    }

    #footer_pecet {
        margin-bottom: 2rem !important;
    }
    
}

@media only screen and (max-width: 500px) {
    .hero-pecet-wrap {
        bottom: -180px;
    }
}

.fworks_consent_shortcode .fworks_consent_bar_mini-inner {
	display: contents; /* PRO ZAROVNANÁNÍ DO TEXTU, jinak vymazat */
    transition-duration: .2s;
    transition-timing-function: linear;
}

.fworks_consent_shortcode .fworks_consent_button_settings:hover {
    text-decoration: none;
}

.fworks_consent_shortcode .fworks_consent_bar_mini-inner:hover {
	color: var(--link_hover_color);
}