/*
Theme Name: Hello Elementor Child
Theme URI: 
Author: Repon
Description: Child Theme of hello elementor
Version: 1.0.0
Template: hello-elementor
Text Domain: ddec
*/


:root {
    /* --edgeSize: calc((100vw - 1400px) / 2); */
    --edgeSize: calc((100vw - var(--content-width, 1400px)) / 2);
    --lineMargin: calc(var(--edgeSize) - 70px)
}

.edge-column-padding {
    padding-inline-start: var(--edgeSize) !important;
}

.edge-column-padding-right {
    padding-inline-end: var(--edgeSize) !important;
}

.elementor-post-navigation {gap: 20px;}

#sidenav {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    bottom: 0;
    width: auto;
    z-index: 99999;
    padding-left: 300px;
    transform: translateX(100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 100%, 0 0);
}

#sidenav:before {
    content: "";
    position: absolute;
    top: 0;
    right: calc(50% - 10px);
    bottom: 0;
    left: 0px;
    z-index: 0;
    width: auto;
    background-color: #F0AD11;
    clip-path: polygon(0 0, 10px 0, 100% 100%, calc(100% - 10px) 100%, 0 0);
}

#sidenav.opened {
    transform: translateX(0);
}

#sidenav>.e-con-inner {
    position: relative;
    z-index: 3;
}

.portfolio-item {
    color: #174879;
    padding: 40px 45px;
    border: 1px solid #EDEDED;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 20px 53px rgba(0, 0, 0, 0.16);
    transition: all 200ms;
}

.portfolio-item:hover {
    box-shadow: 0 34px 53px rgba(0, 0, 0, 0.16);
}

.portfolio-item h3 {
    color: #174879;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.portfolio-container .portfolio-item:not(:last-child) {
    margin-bottom: 40px;
}

.portfolio-container {
    display: flex;
    gap: 40px;
}

.portfolio-items-wrapper {
    flex: 4;
    padding-inline-start: var(--edgeSize) !important;
}

.portfolio-item-img {
    flex: 5;
    filter: grayscale(1);
    border-radius: 10px 0 0 10px;
    background-size: cover;
    background-repeat: no-repeat;
}

#btn-sidebar-close {
    position: absolute;
    left: 0;
    z-index: 7;
}

#sidenav .elementor-nav-menu .sub-menu {
    display: none !important
}

#sidenav .elementor-nav-menu li a .sub-arrow {
    padding: 0;
    position: relative;
    top: 2px;
}

#sidenav .elementor-nav-menu li.opened>a .sub-arrow {
    transform: rotateZ(180deg);
}

#sidenav .elementor-nav-menu li.opened>.sub-menu {
    display: block !important
}

.elementor.elementor-21542 {
    position: relative;
}

#site-line {
    position: absolute;
    top: 800px;
    bottom: -100px;
    pointer-events: none;
}

#site-line>.e-con-inner {
    position: relative;
}

#site-line>.e-con-inner:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -62px;
    border-left: 8px dashed #A5B8CB
}

#site-line .circle-item,
.elementor-element.circle-item {
    width: 67px;
    height: 67px;
    left: -91px;
    z-index: 9;
    background-color: #fff;
    border: 8px solid #A5B8CB;
    border-radius: 100px;
}

#site-line .circle-item {
    position: absolute;
}

.elementor-element.circle-item {
    margin-bottom: -67px !important
}

#site-line .circle-item:before,
.elementor-element.circle-item:before {
    content: "";
    width: 21px;
    height: 21px;
    left: 50%;
    top: 50%;
    position: absolute;
    border-radius: 100px;
    transform: translate(-50%, -50%);
    background-color: #174879;
}

#site-line .circle-item.circle-item-ddec-llc {
    top: 540px;
}

.portfolio-gallery {
    overflow: hidden;
}

.portfolio-gallery .gallery-arrows {
    display: flex;
    width: 112px;
    height: 60px;
    padding: 5px 10px;
    align-items: center;
    margin: 20px auto;
    position: relative;
    border-radius: 100px;
    background-color: #174879;
    justify-content: space-between;
}


.portfolio-gallery :is(.swiper-button-prev, .swiper-button-next) {
    position: static;
    margin: 0;
    width: 40px;
    height: 30px;
}

.portfolio-gallery .gallery-arrows:after {
    content: "";
    position: absolute;
    inset-block: 12px;
    width: 2px;
    left: 50%;
    margin-left: -1px;
    background-color: #A5B8CB;

}

.portfolio-gallery .swiper-pagination {
    position: static;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.portfolio-gallery .swiper-pagination-bullet {
    width: 56px;
    height: 16px;
    cursor: pointer;
    border-radius: 100px;
    background-color: transparent;
    border: 1px solid #A5B8CB;
}

.portfolio-gallery .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #174879;
    border-color: #174879;
}

.portfolio-gallery-v2 .project-gallery-item {
    display: block;
    position: relative;
    margin-bottom: 50px;
    border-radius: 25px;
    overflow: hidden;
}

.portfolio-gallery-v2 .project-gallery-item img {
    vertical-align: top;
}

.portfolio-gallery-v2 .project-gallery-item:before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: url(assets/icon-search.svg) no-repeat center rgba(0, 0, 0, 0.7);
    transition: all 200ms;
}

.portfolio-gallery-v2 .project-gallery-item:hover:before {
    opacity: 1;
}

@media screen and (max-width: 1600px) {

    #site-line,
    #site-line .circle-item,
    .elementor-element.circle-item {
        display: none !important;
    }
}

@media screen and (max-width: 999px) {
    .portfolio-container {
        flex-direction: column;
    }

    .portfolio-container .portfolio-item-img {
        aspect-ratio: 1;
        max-height: 500px;
        border-radius: 10px;
    }

    .portfolio-container .portfolio-items-wrapper {
        order: 3;
        padding-inline-start: 0
    }
}

@media screen and (max-width: 640px) {
    #sidenav {
        padding-left: 50px;
    }

    .portfolio-item {
        padding: 10px 25px;
    }
}

#elementor-lightbox-slideshow-project-gallery .elementor-swiper-button {
    font-size: 0!important;
}

#elementor-lightbox-slideshow-project-gallery .elementor-swiper-button:before {
    font-weight: 900;
    font-size: 30px;
    font-family: "Font Awesome 5 Free";
}

#elementor-lightbox-slideshow-project-gallery .elementor-swiper-button-prev:before {
    content: "\f060";
}

#elementor-lightbox-slideshow-project-gallery .elementor-swiper-button-next:before {
    content: "\f061";
}