/*
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
*/

/* MODRA: #4882d2 */

/* GLOBAL */

.mini-title p {
    margin-bottom: 0px !important;
    margin-top: 0px !important;
}

body .fusion-button.fusion-button-default-size {
    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.28) !important;
}

/* HEADER */



.fusion-header-wrapper .fusion-logo a {
    max-width: 50% !important; 
}



/* FIRST SLIDER */
/*Slider*/

.hero-circle-object {
    position: fixed;
    width: 200px;
    height: 200px;
    z-index: -1;
    top: 59%;
    transform: translateX(-130px);
}






#slider-one {
    display: block;
    position: relative;
    width: 100%;
    height: 600px;
    margin: 0 !important;
    
}

#slider-one .slide{
    display: none;
    width: 100%;
    height: 600px;
    position: relative;
}

#slider-one .fusion-builder-row {
    margin-left: auto !important;
    margin-right: auto !important;
}


/*#slider-one:before{
    content: '';
    position: absolute;
    bottom: 0px;
    right: -50px;
    z-index: 15;
    border: solid 6px #ffffffc7;
    width: 280px;
    height: 240px;
    border-radius: 140% 140% 0% 0%;
    border-bottom: transparent;

}*/


#slider-one .slide::after {
    content: '';
    position: absolute;
    background-image: url('/wp-content/uploads/2021/09/hero-object.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    width: 390px;
    height: 800px;
    left: -30%;
    top: -21%;
}

#slider-one .slide::before {
    content: '';
    position: absolute;
    background-image: url('/wp-content/uploads/2021/09/hero-object-2.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    width: 450px;
    height: 670px;
    right: -30%;
    bottom: -70%;
}

#slider-one .slide div,
#slider-one .slide span{
    height: 100%;
    display: block;
}

#slider-one .slide img{
   
    animation-name: zoom-image;
    animation-duration: 7s;
    animation-direction: initial;

}
/*
@keyframes zoom-image {

    0% { 
        transform: scale(1);
    }
    
    100% {
        transform: scale(1.2);
    }

}
*/
#slider-one .slide-content{
    position: absolute;
    top: 120px;
    left: 0px;
    right: 0px;
    margin: 0 auto;
    height: auto !important;
    z-index: 100;
    color: #121212 !important;
    width: 100%;
    max-width: 1200px;
    

}

#slider-one .slide-content h1{
    color: #121212;
    margin-bottom: 20px !important;
}

#slider-one .slide-content p {
    font-size: 22px;
}

#slider-one .arrow-left{
    width: 60px !important;
    height: 60px;
    background-color: #4882d2;
    opacity: 0.8;
    position: absolute;
    top: 50%;
    left: -80px;
    margin-top: -20px;
    z-index: 100;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-left: 8px;
    transition: all 0.2s ease;
    box-shadow: 5px 5px 10px #12121287 !important;
    border-radius: 30px;
}

#slider-one .arrow-right{
    width: 60px !important;
    height: 60px;
    background-color: #4882d2;
    opacity: 0.8;
    position: absolute;
    top: 50%;
    right: -60px;
    margin-top: -20px;
    z-index: 100;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-left: 8px;
    transition: all 0.2s ease;
    box-shadow: 5px 5px 10px #12121287 !important;
    border-radius: 30px;
}

.fb-icon-element-2  {
    margin-right: 4px !important;
}

.fb-icon-element-1 {
    margin-right: 13px !important
}

#slider-one .arrow-left:hover,
#slider-one .arrow-right:hover{
    opacity: 1;
}

#slider-one .slide.active{
    display: block;
    opacity: 0;
    animation: fadein 0.8s ease forwards;
}

@keyframes fadein{

    0%{
        opacity: 0.9;
        transform: translateX(20px);
    }100%{
        opacity: 1;
        transform: translateX(0px);
    }

}


/* CONTACT FORM */



/* HOMEPAGE poptavkovy form */


.home-contact-form {
    right: 0px;
    background: linear-gradient(125deg, rgb(72,130,210)  20%, rgb(49,89,145)  80%, rgb(28,50,82) 100%);
    position: fixed !important;
    bottom: -3%;
    border-radius: 20px 0 0 0px !important;
    animation: ease .8s slide-animation;
    height: max-content;
    z-index: 20;
}

@keyframes slide-animation {
    from {
        transform: translateX(200%);
    }
    
    to {
        transform: translateX(0%);
    }
}

.home-contact-form .wpcf7-form .wpcf7-text {
    height: 40px !important;
    border-radius: 10px !important;
}

.home-contact-form .fusion-column-wrapper  {
    border-radius: 0px 20px 20px 0px;
}

.close-link i {
    color: white !important;
    position: absolute;
    right: 30px;
    top: 20px;
    font-size: 20px;
}

.close-link:hover {
    cursor: pointer;
}

.close-contact-form {
    transform: translateX(100%);
    animation: ease .8s close-slide-animation !important;
}

@keyframes close-slide-animation {
    from {
        transform: translateX(0%);
    }
    
    to {
        transform: translateX(200%);
    }
}


.message-icon {
   display: none !important;
   position: fixed;
   justify-content: center;
    bottom: 3%;
    right: 10px;
    height: 50px;
    z-index: 5000;
    border-radius: 35px;
    width: 50px;
    overflow: hidden;
    max-height: 50px;
    align-items: center;
    display: flex;
    background: linear-gradient(125deg, rgb(0, 105, 150) 0%, rgb(10, 81, 116) 60%, rgb(25, 30, 35) 100%);
    color: white !important;
    font-size: 32px;
    transition: all ease .3s;
    animation: animate 3s linear infinite;
}

.message-icon:hover {
    box-shadow: 0 0 50px 5px rgba(25, 30, 35, 0.0);
    transition: all ease .3s;
}

@keyframes linear {
    0% {
        box-shadow: 0 0 0 0 rgba(25, 30, 35, 1);
    }
    
    40% {
        box-shadow: 0 0 50px 5px rgba(25, 30, 35, 0.0);
    }
    
    80% {
        box-shadow: 0 0 50px 5px rgba(25, 30, 35, 0.0);
    }
    
    100% {
        box-shadow: 0 0 0 0 rgba(25, 30, 35, 0.0);
    }
}


.message-icon:hover {
    cursor: pointer;
}

.message-icon-active {
    display: flex !important;
}

.home-contact-form-container .fusion-builder-row {
    position: absolute;
}




/* ABOUT */

.about-box-one {
    position: absolute;
    background: #4882d2 ;
    color: white;
    padding: 15px;
    top: 70px;
    z-index: 1;
    box-shadow: inset 8px 8px 16px #31588f, inset -8px -8px 16px #5facff;
    border-radius: 20px;
    border: solid 3px white;
}

.about-box-one h3,
.about-box-two h3,
.about-box-three h3 {
    color: white !important;
    margin-bottom: 0px !important;
    margin-top: 0px !important;
}

.about-box-one p,
.about-box-two p {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.about-box-two {
    position: absolute;
    background: #4882d2 ;
    color: white;
    padding: 15px;
    top: -150px;
    z-index: 1;
    border-radius: 20px;
    left: 220px;
    box-shadow: inset 8px 8px 16px #31588f, inset -8px -8px 16px #5facff;
    border: solid 3px white;
}

.about-box-three {
    position: absolute;
    background: #4882d2 ;
    color: white;
    padding: 15px;
    top: -80px;
    z-index: 1;
    border-radius: 20px;
    right: 10px;
    box-shadow: inset 8px 8px 16px #31588f, inset -8px -8px 16px #5facff;
    border: solid 3px white;
}


.about-object {
    position: absolute;
    bottom: -100px;
    width: 400px;
    height: 350px;
    z-index: -1;
    transform: translateY(-400px);
    left: -240px;
}



/* SERIVICNG */

.servicing-box {
    transition: ease all .4s;
}

.servicing-box .fusion-column-wrapper {
    transition: ease all .4s;
}

.servicing-box i {
    color: #4882d2;
    padding-left: 5px;
    transition: all ease .4s;
}

.servicing-box a {
    font-weight: 600 !important;
}

.servicing-box:hover {
    transform: translateY(-10px);
    transition: ease all .4s;
}

.servicing-box:hover .fusion-column-wrapper {
    box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.21);
    transition: ease all .4s;
}


.servicing-box:hover h3 {
    color: #4882d2 !important;
}

.servicing-box:hover a {
    color: #4882d2 !important;
}

.servicing-box:hover i {
    transform: translateX(10px);
    transition: all ease .4s;
}


/* DEALERS */

.dealer-object::after {
    position: absolute;
    content: "";
    background-image: url('/wp-content/uploads/2021/09/dealers-object.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    width: 500px;
    height: 420px;
    bottom: -90px;
    right: -100px;
    transform: rotate(-40deg);
}





/* CONTACT */

.contact-container {
    border-radius: 300px 0px 0px 0px;
}

.contact-text i {
    color: #4882d2 ;
    padding-right: 10px;
}

.contact-text a {
    font-weight: 600 !important;
}

.contact-text a:hover {
    color: #4882d2 !important;
}




/* CTA */

.cta-object::after {
    position: absolute;
    content: "";
    background-image: url('/wp-content/uploads/2021/09/pages-bg-object.png');
    background-size: 100%;
    background-repeat: no-repeat;
    width: 630px;
    height: 360px;
    bottom: -42px;
    right: 19%;
    z-index: 14;;
}

/* PAGE MAJETEK */

.custom-content-box h2 {
    font-weight:500 !important;
    line-height: 1.5 !important;  
}

.fusion-content-boxes.content-boxes-icon-on-side.custom-content-box .heading {
    margin-bottom: 0px !important;
}

.custom-content-box {
    margin-bottom: 0px !important;
}

.majetek-object::after {
    content: "";
    position: absolute;
    background-image: url('/wp-content/uploads/2021/09/mzdy-object.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    width: 160px;
    height: 460px;
    left: 0px;
    top: -10%;
    z-index: 15;
}

.majetek-object-right::after {
    content: "";
    position: absolute;
    background-image: url('/wp-content/uploads/2021/09/mzdy-object.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    width: 160px;
    height: 460px;
    right: 0px;
    top: -10%;
    z-index: 0;
    transform: rotate(180deg);
}

.about-two-section::after {
    content: "";
    position: absolute;
    background-image: url('/wp-content/uploads/2021/09/mzdy-object.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    width: 160px;
    height: 460px;
    right: 0px;
    top: -10%;
    z-index: 15;
    transform: rotate(180deg);
}


/* POWERTIP */

#powerTip {
    background-color: #4882d2 !important;
}

#powerTip a {
    color: white !important;
}

#powerTip a:hover {
    text-decoration: underline;
}

body #powerTip.n:before {
    border-top: 10px solid #4882d2;
}
body #powerTip.s:before {
    border-bottom: 10px solid #4882d2;
}
body #powerTip.e:before {
    border-right: 10px solid #4882d2;
}
body #powerTip.w:before {
    border-left: 10px solid #4882d2;
    right: -10px
}
body #powerTip.ne:before,body #powerTip.nw:before {
    border-top: 10px solid #4882d2;
    border-top: 10px solid #4882d2;
}
body #powerTip.se:before,body #powerTip.sw:before {
    border-bottom: 10px solid #4882d2;
    border-bottom: 10px solid #4882d2;
}
body #powerTip.nw-alt:before,body #powerTip.ne-alt:before,body #powerTip.sw-alt:before,body #powerTip.se-alt:before {
    border-top: 10px solid #4882d2;
    border-top: 10px solid #4882d2;
}
body #powerTip.sw-alt:before,body #powerTip.se-alt:before {
    border-bottom: 10px solid #4882d2;
    border-bottom: 10px solid #4882d2;
}

.contact-page-box i {
    color: #4882d2;
    padding-right: 5px;
}

.contact-page-box a {
    font-weight: 600 !important;
}

.contact-page-box a:hover {
    color: #4882d2 !important;
}



/* RESPO SLIDER ONE */

@media only screen and (min-width: 1900px) {
    #slider-one .slide::before,
    #slider-one .slide::after  {
        display: none;
    }
}

@media (max-width: 1800px) {
    .cta-object::after {
        width: 500px;
        height: 287px;
        right: 16%;
    }
}

@media (max-width: 1560px) {
    .home-contact-form h3 {
        font-size: 22px !important;
    }

    .contact-container {
        border-radius: 120px 0px 0px 0px;
    }

    .majetek-object::after {
        display: none;
    }
}

@media (max-width: 1400px) {
    #slider-one {
        padding-top: 50px;
    }
    
    #slider-one .slide::after {
        width: 600px;
    }

    #slider-one .arrow-right {
        bottom: 7%;
        left: 80px;
        top: unset;
    }

    #slider-one .arrow-left {
        bottom: 7%;
        left: 0px;
        top: unset;
    }

    .about-two-section::after {
        display: none;
    }
}

@media (max-width: 1300px) {
    .fusion-body .fusion-builder-column-5.home-contact-form {
        width: 30% !important;
        height: 350px;
    }

    .cta-object::after {
        right: 3%;
    }
}   


@media (max-width: 1250px) {
 
}

@media (max-width: 1200px) {

}

@media (max-width: 1130px) {
    #slider-one .slide-content {
        top: 20px;
    }
}

@media (max-width: 1000px) {
    
    #slider-one .slide::before {
        display: none;
    }

    .cta-object::after {
        width: 370px;
        height: 212px;
    }
}

@media (max-width: 900px) {
    .slider-image {
        position: absolute !important;
        bottom: 180px;
        right: 0px;
        max-width: 400px;
        height: auto !important;
        opacity: .5;
    }

    #slider-one .slide-content {
        text-align: center;
        left: -60px;
    }

    .fusion-body .fusion-builder-column-5.home-contact-form {
        height: 370px;
        padding: 0px 10px;
    }

    #slider-one .arrow-right,
    #slider-one .arrow-left {
        bottom: 20%;
    }

    #slider-one {
        height: 520px !important;
    }

    #slider-one .slide::after {
        width: 400px;
        height: 350px;
    }

    .about-box-two {
        top: -60px;
        left: 340px;
    }

    .dealer-object::after {
        display: none;
    }
    
    .cta-object::after {
        display: none;
    }

    /* .slider-img .hero.image {
        height: 0 !important;
    } */
}

@media (max-width: 800px) {
    .home-contact-form h3 {
        font-size: 18px !important;
    }

    .fusion-body .fusion-builder-column-5.home-contact-form {
        width: 40% !important;
        height: 350px;
    }
}


@media (max-width: 650px) {
    #slider-one .slide-content {
        left: -56px;
    }

    #slider-one .slide::after {
        display: none;
    }

    .about-box-two {
        left: 260px;
    }

}

@media (max-width: 600px) {
    #slider-one h1 {
        font-size: 34px !important;
    }

    #slider-one .slide-content {
        top: 40px;
    }

    .fusion-body .fusion-builder-column-5.home-contact-form {
        width: 50% !important;
        height: 350px;
    }

    .about-object,
    .hero-circle-object,
    .dealer-object::after {
        display: none !important;
    }

    .contact-container {
        border-radius: 60px 0px 0px 0px;
    }
    
}

@media (max-width: 550px) {
    .about-box-two {
        left: 210px;
    }
}

@media (max-width: 500px) {
    .slide-content p {
        font-size: 18px !important;
    }

    .about-box-one,
    .about-box-two,
    .about-box-three {
        display: none;
    }

    .fusion-privacy-bar-main {
        flex-direction: column !important;
        justify-content: left !important;
    }

    .fusion-privacy-bar-acceptance {
        margin-top: 10px; 
    }

    .fusion-privacy-bar-main {
        flex-direction: column !important;
        justify-content: left !important;
    }

    .fusion-privacy-bar-acceptance {
        margin-top: 10px; 
    }
}

@media (max-width: 400px) {
    #slider-one .slide-content {
        left: -13px;
    }

    .fusion-body .fusion-builder-column-5.home-contact-form {
        width: 60% !important;
        height: 350px;
    }

}

