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

input#gform_next_button_6_1 {
    background: white !important;
    color: black !important;
    padding: 20px 40px !important;
    border: none !important;
}
mark {
    color: #fff !important;
    font-weight: 900;
}

.whitescaleme img {
    filter: brightness(0) invert(1);
}

.col.content-box-wrapper.content-wrapper-background.link-area-link-icon.icon-hover-animation-none {
    border: 2px solid #ededed;
    border-radius: 10px;
}

/* Projects only top border radius */
.bordermyproject {
    border-radius: 0px !important;
}

.activity-card .fusion-title{
    background: #F7F7F7;
    margin: 0 !important;
    min-width: 100%;
    padding: 20px;
    border-radius: 0 10px 0 0;
    transition: all .5s;
}

.activity-card:hover .fusion-title{
    min-width: calc(100% + 25px);
    border-radius: 0 0 5px 0;
}

.theme-card *{
    transition: all .5s;
}
.theme-card:hover .fusion-column-wrapper{
    border-color: red !important;
}


.footer-background-icon .fusion-column-wrapper{
    background-image: url(/wp-content/uploads/2024/06/Subtraction-6.svg) !important;
    background-size: 25% !important;
    background-position: 105% 110% !important;
}
.c2a-background-icon{
    background-image: url(/wp-content/uploads/2024/06/Subtraction-6.svg) !important;
    background-size: 25% !important;
    background-position: 105% 11% !important;
}
/* Gravity Forms */
input#gform_submit_button_1, input#gform_submit_button_4 {
    background: transparent;
    border: 2px solid;
    padding: 17px 35px;
    font-size: 18px;
}
input#gform_submit_button_1:hover, input#gform_submit_button_4:hover {
    background: #fff;
    border: 2px solid #fff;
    color: red;
}
div#gform_1_validation_container,div#gform_1_validation_container{display:none;}
.gfield_validation_message {
    background: transparent !important;
    text-align: left !important;
    border: none !important;
    color: #2c2c2c !important;
    font-size: 12px !important;
    margin-top: -16px !important;
    margin-left: 10px !important;
}
div#gform_confirmation_message_1, div#gform_confirmation_message_4 {
    background: #fff;
    padding: 20px;
    border-left: 5px solid #4BB543;
    border-radius: 9px;
}
/* Project shortcode */
.projects-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
}

.project {
    display: grid;
    background: #F7F7F7;
    border-radius: 25px;
    overflow: hidden;
    transition: transform .2s, box-shadow .3s;
}

.project:hover{
    transform: scale(1.01);
    box-shadow: 3px 5px 30px rgba(0, 0, 0, 0.1);
}

.project:hover .text::after {
    /* right: 0px;
    bottom: -30px; */
    transform: rotate(-10deg);
    /* right: 0px;
    bottom: -30px; */
    transform: rotate(-10deg);
}

.project .text{
    padding: 20px 40px;
    position: relative;
}

.project .text *{
    position: relative;
    z-index: 2;
    color: #212121 !important;
}

.project .text::after{
    content: url("/wp-content/uploads/2024/06/Subtraction-6_grey.svg");
    position: absolute;
    right: -30px;
    bottom: -50px;
    z-index: 1;
    transition: all .6s;
    transition: all .6s;
}

.project .project-image{
    background-size: cover;
    background-position: center center;
}

.remaining-projects {
    display: grid;
    gap: 4rem;
}

.project:not(.first-project) {
    grid-template-columns: 1.1fr 2fr;
}

.first-project .project-image{
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 54% 100%, 50% 90%, 46% 100%, 0% 100%);
}

.project:not(.first-project) .project-image{
    clip-path: polygon(0 100%, 0 0, 100% 0, 100% 40%, 90% 50%, 100% 60%, 100% 100%);
}

.first-project .project-image{
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 54% 100%, 50% 90%, 46% 100%, 0% 100%);
}

.project:not(.first-project) .project-image{
    clip-path: polygon(0 100%, 0 0, 100% 0, 100% 40%, 90% 50%, 100% 60%, 100% 100%);
}

.first-project{
    grid-template-rows: 1.5fr .75fr;
}


.header-image-clip{
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 10% 100%, 0% 50%);
}

.header-image-clip .fusion-column-wrapper
{
    height: 35rem;
}

.header-text-overlay{
    top: 0 !important;
}


@media screen and (max-width: 650px) {
    .header-image-clip{
        clip-path: polygon(50% 0%, 100% 15%, 100% 100%, 0 100%, 0% 15%);
    }

    .projects-grid{
        grid-template-columns: 1fr;
    }

    .project{
        grid-template-rows: 1fr 1.5fr;
        grid-template-columns: 1fr !important;
    }

    .project .project-image{
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 60% 100%, 50% 85%, 40% 100%, 0% 100%) !important;
    }

    h1{
        font-size: .8em !important;
    }

    .footer-background-icon .fusion-title-10 p{
        margin: 0;
        font-size: .8em;
    }

    .footer-background-icon .fusion-column-wrapper{
        background-position: 105% 120% !important;
    }
}

.swiper-controls {
    display: inline-flex;
    gap: 1rem;
    flex-direction: row;
    justify-content: flex-end;
    margin-top: 2rem;
}

.swiper-controls > div {
    background: #E30A15;
    position: relative !important;
    width: 3rem;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    font-size: 1.5rem;
    color: white;
    opacity: 1 !important;
    transition: opacity .3s;
}

.swiper-controls > div:hover {
    background: #E30A15;
    color: white;
    opacity: .8 !important;
}

.fusion-post-cards-1{
    overflow: visible !important;
}

/* .right__1 {padding-left: 20px;} */
.right__1 .slider-wrap { width: calc(100% + 20px); margin-left: -20px; }
.right__1 .slider-wrap .slick-list {padding-left: 0 !important;overflow: visible;}
.right__1 .slider-wrap .slider_slide .slide_image { padding: 1px; width: 100%; display: inline-block; vertical-align: top; }
.right__1 .slider-wrap .slider_slide { padding: 0 20px }
.right__1 .slider-wrap .slider_slide-inner { overflow: hidden; border-radius: 10px; position: relative; width: 100%; }
.right__1 .slider-wrap .slider_slide .slide_image img { width: 100%; object-fit: cover; height: 100%; max-height: 400px; display: block; }
.right__1 .slider-wrap .slider_slide .title { min-height: 120px; background: #fff; display: block; margin: 0 !important; padding: 20px; border-radius: 0 10px 0 0; transition: all .5s; position: absolute; bottom: 0; left: 0; right: 40px; width: calc(100% - 40px); }
.right__1 .slider-wrap .slider_slide .title h3 { font-size: 30px; line-height: 36px; font-weight: 400; width: 100%; }
.right__1 .slider-wrap .slider_slide-inner:hover .title h3 { width: calc(100% - 40px); }
.right__1 .slider-wrap .slider_slide-inner:hover .title { right: 0; width: 100%; border-radius: 0; }
.right__1 .slider-wrap .slider_slides { padding-bottom: 80px; position: relative; }
.right__1 .slider-wrap .slider_slides button.slick-arrow { border: none; background: #E30A15; position: absolute; width: 3rem; aspect-ratio: 1 / 1; border-radius: 50%; font-size: 1.5rem; color: white; opacity: 1 !important; transition: opacity .3s; font-size: 0; right: 0; bottom: 0; cursor: pointer; }
.right__1 .slider-wrap .slider_slides button.slick-arrow:after { content: "\f061"; font-size: 20px; font-family: "Font Awesome 5 Free"; font-weight: 900; }
.right__1 .slider-wrap .slider_slides button.slick-arrow.slick-prev { transform: rotate(180deg); right: 68px; }
.right__1 .slider-wrap .slider_slide-inner:hover .title { padding-right: 60px; }
.right__1 .slider-wrap .slider_slide-inner:hover .title h3 { width: 100% !important; }
@media(max-width:1440px) {
	.right__1 .slider-wrap .slider_slide { padding: 0 15px; }
	.right__1 .slider-wrap { width: calc(100% + 15px); margin-left: -15px; }
}
@media(max-width:1249px) {
	.right__1 .slider-wrap .slider_slide .title { width: calc(100% - 30px); right: 30px; }
	.right__1 .slider-wrap .slider_slide-inner:hover .title { padding-right: 50px; }
	.right__1 .slider-wrap .slider_slide .title h3 { font-size: 28px; line-height: 34px; }
}
@media(max-width:1024px) {
.right__1 .slider-wrap { width: 100%; margin: 0;}
}
@media(max-width:767px) {
	.right__1 .slider-wrap { width: calc(100% + 30px); margin-left: -15px; margin-right: -15px; }
}
@media(max-width:600px) {
	.right__1 .slider-wrap { width: calc(100% + 30px); margin-left: -15px; margin-right: -15px; }
	.right__1 .slider-wrap .slick-list {overflow: hidden;}

}
@media(max-width:490px) {
	.right__1 .slider-wrap .slider_slide .title h3 { font-size: 26px;  line-height: 32px;}
	.right__1 .slider-wrap .slider_slide .slide_image img { aspect-ratio: 1/1;}
}
@media(min-width:1664px) {
	.right__1 { padding-left: 30px }
}
.slider_left_content {
    background-color: #f7f7f7;
    position: relative;
}

.slider_left_content:after {
    content: '';
    position: absolute;
    left: -400%;
    top: 0;
    bottom: 0;
    width: 400%;
    background-color: #f7f7f7;
}
