/*
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
*/
body .flex-nowrap > .fusion-column-wrapper{
    flex-wrap: nowrap !important;
}
::selection {
    background-color: var(--awb-custom_color_2);
    color: var(--awb-custom_color_1);
}

::-moz-selection {
    background-color: var(--awb-custom_color_2);
    color: var(--awb-custom_color_1);
}

header .fusion-checklist .icon-wrapper {
    margin-top: 7px;
}

header .fusion-checklist .icon-wrapper i {
    font-size: 27px;
}

.header-small-title {
    color: var(--awb-custom_color_2);
    font-size: 13px;
    font-weight: 400;
}

header .fusion-li-item-content {
    font-weight: 700;
    line-height: 1.2;
}

header .fusion-li-item-content a {
    color: #fff !important;
}

header .fusion-li-item-content a:hover {
    text-decoration: underline;
}

header .fusion-checklist .fusion-li-item,
header .fusion-checklist.fusion-404-checklist>li,
header ul.fusion-checklist .fusion-li-item,
header ul.fusion-checklist.fusion-404-checklist>li {
    padding-bottom: 0 !important;
}

header .fusion-checklist,
header ul.fusion-checklist {
    margin-top: 0 !important;
}

header .checklist-wrapper {
    display: flex;
    flex-flow: row wrap;
    margin-bottom: 16px !important;
}

header .checklist-wrapper > ul:first-of-type {
    margin-right: 52px;
}

header.fusion-sticky-transition {
    backdrop-filter: blur(8px);
}

@-moz-document url-prefix() {
    body .fusion-fullwidth.fusion-builder-row-1.fusion-sticky-transition {
        background-color: #000 !important;
    }
}  

@media (max-width: 1024px) {
    header .checklist-wrapper {
        margin-right: 16px;
    }
}

@media (max-width: 450px) {
    header .checklist-wrapper {
        display: none;
    }
}

.fusion-button:hover .button-icon-right {
    color: var(--awb-custom_color_2) !important;
}

.hero h1 small {
    font-size: 0.8em;
    color: var(--awb-custom_color_2) !important;
}
.rozcestnik-item .fusion-builder-row{
    position: absolute !important;
    bottom: 0;
}
.yellow-after-wrapper .fusion-column-wrapper {
    position: relative;
}

.yellow-after-wrapper .fusion-column-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 0;
    left: 0;
    background-color: var(--awb-custom_color_2);
    transition: 0.25s ease all;
}
.rozcestnik-item > .fusion-column-wrapper {
    min-height: 250px;
}

.rozcestnik-item:hover .yellow-after-wrapper .fusion-column-wrapper::after {
    height: 100%;
}
.rozcestnik-item.h400 > .fusion-column-wrapper {
    height: 400px;
}
.rozcestnik-item .yellow-after-wrapper h2,
.rozcestnik-item .yellow-after-wrapper .fb-icon-element {
    position: relative;
    transition: 0.25s ease all;
    z-index: 999999;
}

.rozcestnik-item .yellow-after-wrapper .fb-icon-element {
    margin-right: 0 !important;
}

.rozcestnik-item:hover .yellow-after-wrapper h2 {
    color: var(--awb-custom_color_1) !important;
}

.rozcestnik-item:hover .yellow-after-wrapper .fb-icon-element {
    color: var(--awb-custom_color_1) !important;
}

.title-with-line h2,
.title-with-line-on-top,
.title-with-line-black h2 {
    position: relative;
    display: inline-block !important;
    width: auto;
}

.title-with-line h2::after {
    content: "";
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    height: 3px;
    background-color: var(--awb-custom_color_2);
    width: 60px;
}

.title-with-line-black h2::after {
    content: "";
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    height: 3px;
    background-color: var(--awb-custom_color_1);
    width: 60px;
}

.title-with-line-on-top::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    height: 3px;
    background-color: var(--awb-custom_color_2);
    width: 100px;
}

.img-about-abs {
    position: absolute !important;
    right: 0;
    bottom: -110px;
}

.about-img {
    position: relative;
}
.about-img::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 250px;
    height: 300px;
    background: url("/wp-content/uploads/2022/04/about-dots-1.png") center center no-repeat;
}

.fusion-button {
    position: relative;
}

.fusion-button * {
    position: relative;
    z-index: 10000;
}

.fusion-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    z-index: 1;
    background-color: var(--awb-custom_color_1);
    transition: 0.4s ease all;
}

.fusion-button:hover::after {
    width: 100%;;
}

.galerie .fusion-gallery-image img{
    width: 100%;
}

.galerie .fusion-layout-column:nth-of-type(2) {
    overflow: visible;
}

.galerie .fusion-layout-column:nth-of-type(2):after {
    content: "";
    position: absolute;
    display: block !important;
    left: -60px;
    bottom: -80px;
    width: 250px;
    height: 300px;
    background: url("/wp-content/uploads/2022/04/about-dots-1.png") center center no-repeat;
    background-size: contain;
    z-index: -1;
}
/* FOOTER - 4ws consent */
.fworks_consent_shortcode {
  display: inline-block !important;
  color: white !important;
  transition: 0.3s ease all;
  text-decoration: underline !important;
  text-underline-offset: var(--awb-link_decoration_underline_offset);
}

.fworks_consent_shortcode:hover {
  color: var(--link_hover_color) !important;
  text-decoration: none !important;
}

.fworks_consent_button_settings {
  text-decoration: none !important;
}
.copyright {
    color: #fff;
    text-align: center;
}

.copyright a {
    color: #fff;
    text-decoration: underline;
}

.copyright a:hover {
    text-decoration: none;
}

footer {
    position: relative;
}

footer::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 350px;
    height: 80%;
    background: url("/wp-content/uploads/2022/04/dots.png") center right no-repeat;
    background-size: contain;
    opacity: 0.05;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 350px;
    transform: rotate(180deg);
    height: 80%;
    background: url("/wp-content/uploads/2022/04/dots.png") center right no-repeat;
    background-size: contain;
    opacity: 0.05;
}

.dark-kontakt a {
    color: var(--awb-color1);
    text-decoration: underline;
}

.dark-kontakt a:hover {
    text-decoration: none;
}


.kontakty-zlute a {
    text-decoration: underline;
}

.kontakty-zlute a:hover {
    color: var(--awb-custom_color_1);
    text-decoration: none;
}

/* RESPO */
@media (max-width:1100px){
    .header-menu {
        margin-left: 1rem;
    }
}
@media screen and (max-width: 1024px) {
    header{
        & .nav-col{
            & .checklist-wrapper{
                margin-bottom: 0 !important;
            }
        }
        
        & .logo-col{
            margin-top: 0 !important;
        }
    }
    
}

@media screen and (max-width: 749px) {
    header{
        & > .fusion-builder-row{
            justify-content: space-between;
        }

        & div.logo-col.fusion-layout-column,
        & div.logo-col > .fusion-column-wrapper,
        & div.nav-col.fusion-layout-column,
        & div.nav-col > .fusion-column-wrapper{
            width: fit-content !important;
        }
    }
}