/* ===================================
   1. Global CSS
====================================== */

.global-color .elementor-heading-title,
.global-color .elementor-counter .elementor-counter-number-wrapper {
    color: #6DB363;
}

.global-inner-bgcolor,
.global-bgcolor .elementor-column-wrap, 
.cocobasic-service .elementor-tab-title, 
.cocobasic-service .elementor-tab-content,
.global-bgcolor2 .elementor-button:hover,
.elementor-widget-coco-contactform {
    background-color: #6DB363;
}

.global-color2 .elementor-heading-title {
    color: #25252E;
}

.global-bgcolor2 .elementor-column-wrap,
.global-bgcolor2 .elementor-button {
    background-color: #25252E;
}

.global-border-color2 .elementor-widget-container {
    border-color: #25252E;
}

.bg-circle {
    z-index: -1 !important;
}

.elementor-widget-container p:last-of-type {
    margin-bottom: 0;
}

[data-elementor-device-mode="desktop"] .rotate-welcome-title,
[data-elementor-device-mode="tablet"] .rotate-welcome-title {
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    text-align: left;
}

.demo2-welcome-title {
    display: inline-table !important;
}

@media screen and (min-width: 1024px) {

    .rotate-title {
        -webkit-writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
        text-align: left;
    }

    .rotate-title .elementor-heading-title {
        transform: translateX(-50px);
        opacity: 0;
        transition: transform 1s, opacity 1s;
    }

    .rotate-title.show-it .elementor-heading-title {
        transform: translateX(0px);
        opacity: 1;
    }

}

.cocobasic-service .elementor-widget-container {
    overflow: hidden;
}

.cocobasic-service .elementor-toggle-title {
    text-align: center;
    display: block;
}

ul.cocobasic-service-list {
    list-style: none;
    margin: 0;
    font-size: 16px;
    line-height: 250%;
}

ul.cocobasic-service-list li {
    position: relative;
}

ul.cocobasic-service-list li:before {
    content: "";
    position: absolute;
    left: -30px;
    top: 14px;
    width: 12px;
    height: 12px;
    background-color: rgba(29, 29, 29, 0.2);
}

.cocobasic-milestone .elementor-counter-number-wrapper > *,
.cocobasic-milestone .elementor-counter .elementor-counter-title {
    text-align: left !important;
}

.cocobasic-milestone .elementor-counter-number-prefix {
    display: none;
}


/* ===================================
    2. Scroll Animation CSS
====================================== */

.elementor-widget-coco-scroll .elementor-widget-container {
    min-height: 68px;
}

.icon-scroll,
.icon-scroll:before {
    position: absolute;
}

.icon-scroll {
    width: 32px;
    height: 54px;
    box-shadow: inset 0 0 0 3px #fff;
    border-radius: 25px;
}

.icon-scroll:before {
    content: '';
    width: 8px;
    height: 8px;
    background: #fff;
    margin-left: -4px;
    top: 35px;
    border-radius: 4px;
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: scroll;
    animation-name: scroll;
    left: 50%;
}

.icon-scroll:after {
    content: "";
    position: absolute;
    z-index: -1;
    background-color: #10141b;
    width: 56px;
    height: 78px;
    border-radius: 50px;
    transform: translate(-12px, -12px);
    transition: all .3s;
}

@keyframes scroll {

    0% {
        opacity: 1;
        transform: translateY(-25px);
    }
    70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(0);
    }

}

/* ===================================
   2. Image PopUp (PreetyPhoto) CSS
====================================== */

div.pp_default .pp_loaderIcon {
    display: none !important;
}

div.pp_default a.pp_arrow_previous {
    background-image: url(../images/nav_left.png);
    background-size: 20px 20px;    
    width: 20px;
    height: 20px;
    margin-top: 5px;
    font-size: 0;
    line-height: 0;
    text-indent: -99999999px;
    transition: transform .3s ease;
}

div.pp_default a.pp_arrow_next {
    background-image: url(../images/nav_right.png);
    background-size: 20px 20px;    
    width: 20px;
    height: 20px;
    margin-top: 5px;
    margin-left: 10px;
    font-size: 0;
    line-height: 0;
    text-indent: -99999999px;
    transition: transform .3s ease;
}

div.pp_default a.pp_arrow_previous:hover {
    transform: translateX(-5px);
}

div.pp_default a.pp_arrow_next:hover {
    transform: translateX(5px);
}

div.pp_default .pp_close {
    background-image: url(../images/close.png);
    background-size: 30px 30px;
    margin-top: 5px;
    text-indent: -99999999px;
    font-size: 0;
    line-height: 0;    
}

div.pp_default .pp_next:hover {
    background: url(../images/nav_right.png);
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: 95% 50%;
    background-size: 20px;
}

div.pp_default .pp_previous:hover {
    background: url(../images/nav_left.png);
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: 5% 50%;
    background-size: 20px;    
}

div.pp_default .pp_nav .currentTextHolder {
    padding: 0 0 0 20px;
    color: #fff;
}

div.pp_default .pp_content_container .pp_details {
    margin-top: 30px !important;
    z-index: 3;
}

div.pp_default .pp_description {
    font-size: 15px;
    line-height: 30px;
    position: absolute;
    top: -30px;
    margin: 0;
    color: #fff;
    font-weight: 400;
}

/* ===================================
    3. Skills Section CSS
====================================== */

.skills-holder {
    position: relative;
}

.skills-holder > div:last-of-type {
    margin-bottom: 0;
}

.skill-holder {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    justify-items: center;
    height: 60px;
    position: relative;
}

.skill-holder:after {
    clear: both;
    display: block;
    content: "";
}

.skill-percent {
    font-size: 45px;
    line-height: 100%;
    font-weight: 700;
    width: 100px;
    float: right;
    color: #554247;
    letter-spacing: -1px;
}

.skill {
    width: calc(100% - 70px);
    height: 10px;
    background-color: #E6E6F0;
    position: relative;
}

.skill-text {
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 5px;
    position: relative;
    transform: translateY(-30px);
}

.skill-fill {
    position: absolute;
    top: -9px;
    left: 0;
    width: 10%;
    height: 28px;
    transition: width .7s;
    background-color: #6DB363;
    z-index: 2;
    max-width: 99%;
}

.skill-fill-mask {
    width: 10%;
    position: absolute;
    top: -9px;
    left: 0;
    height: 28px;
    transition: width .7s;
    background-color: transparent;
    max-width: 99%;
    z-index: 1;
}

.skill-num {
    font-size: 30px;
    font-weight: 300;
    color: #6DB363;
    padding-right: 30px;
    min-width: 95px;
    text-align: right;
}

/* ===================================
    4. Portfolio CSS
====================================== */

#portfolio-wrapper .category-filter-list {
    margin-bottom: 30px;
    transition: all .5s ease;
}

#portfolio-wrapper .category-filter-list.hide {
    opacity: 0;
    transform: translateY(70px);
}

#portfolio-wrapper .category-filter-list > div {
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 15px;
    padding: 5px 20px;
    transition: background-color .3s;
    cursor: pointer;
}

#portfolio-wrapper .category-filter-list > div:last-of-type {
    margin-right: 0;
}

#portfolio-wrapper .category-filter-list > div.is-checked, 
#portfolio-wrapper .category-filter-list > div:hover {
    background-color: #6db363;
}

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
    -webkit-transition-duration: 0s;
    -moz-transition-duration: 0s;
    -ms-transition-duration: 0s;
    -o-transition-duration: 0s;
    transition-duration: 0s;
}

.grid {
    width: 100%;
    position: relative;
    display: block;
    padding: 0;
    list-style: none;
}

.grid-item > * {    
    display: inline-block;
    vertical-align: text-top;
}

.grid-item .portfolio-image-link {
    max-width: 70%;
    overflow: hidden;
}

.grid-item .portfolio-image {
    overflow: hidden;
}

.grid-item img {
    display: block;
    width: 650px;
    height: auto;
    max-height: 650px;
    object-fit: cover;
    transition: transform .3s;
}

.grid-item img:hover {
    transform: scale(1.1);
}

.grid-item {
    margin-bottom: 50px;
    position: relative !important;
}

.portfolio-title {
    font-size: 28px;
    padding: 0;    
}

.portfolio-text-wrapper {
    padding: 30px 0 0 30px;
    width: 30%;
}

.portfolio-excerpt {
    margin-top: 35px;
}

.portfolio-view-more {
    margin-top: 60px;
}

.portfolio-view-more a {
    color: #E6E6F0;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 12px;
    line-height: 200%;
    position: relative;
    display: inline-table;
}

.portfolio-view-more a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0px;
    height: 3px;
    width: calc(100% - 3px);
    transition: .35s ease-out;
    background-color: #E6E6F0;
}

.portfolio-view-more a:hover {
    color: #6db363;
}

.portfolio-view-more a:hover:after {
    width: 10px;
    background-color: #6db363;
}

#portfolio-grid.portfoio-items-mask .grid-item {
    opacity: 0.2;
}

.grid-item.portfolio-content-loading {
    opacity: 1 !important;
}

.portfolio-load-content-holder {
    opacity: 0;
    transform: translateY(70px);
    transition: transform .5s ease, opacity .5s ease;   
}

.portfolio-load-content-holder.show {
    transform: translateY(0);
    opacity: 1;
    padding: 50px 0;
}

.portfolio-load-content-holder.show.viceversa {
    opacity: 0;
    transform: translateY(70px);
}

.portfolio-content-wrapper {
    display: none;
}

.portfolio-content-wrapper.show {
    display: block;
}

.close-icon {
    background-image: url(../images/close-left-arrow.png);
    background-repeat: no-repeat;
    width: 60px;
    height: 60px;
    display: inline-block;
    margin-bottom: 45px;
    background-size: 46px;
    transition: all 0.3s ease;
    cursor: pointer;
    background-position: 7px 7px;
    background-color: #6DB363;
}

.close-icon:hover {
    transform: translateX(-5px);
}

#portfolio-grid {
    transition: all .5s ease;
    opacity: 1;
    transform: translateY(0px);
    height: auto !important;
}

#portfolio-grid.hide {
    opacity: 0;
    transform: translateY(70px);    
}

.grid-item a.item-link.portfolio-content-loading:after, 
.ajax-portfolio.portfolio-content-loading .portfolio-text-holder {
    opacity: 1;
}

.more-posts-portfolio-holder.hide {
    visibility: hidden;
    opacity: 0 !important;
    pointer-events: none;
    cursor: default;
    display: none !important;
}

.more-posts-portfolio-holder {
    min-height: 1px;
    margin-bottom: 20px;
}

.more-posts-portfolio-holder > span {
    line-height: 200%;
    position: relative;
}

.more-posts-portfolio-holder > span:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0px;
    height: 3px;
    width: calc(100% - 3px);
    transition: .35s ease-out;
    background-color: #E6E6F0;
}

.more-posts-portfolio-holder > .more-posts-portfolio:hover {
    color: #6db363;
}

.more-posts-portfolio-holder > .more-posts-portfolio:hover:after {
    width: 10px;
    background-color: #6db363;
}

.more-posts-portfolio, 
.no-more-posts-portfolio, 
.more-posts-portfolio-loading {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 30px;
    position: relative;
    display: inline-block;
}

.more-posts-portfolio {
    cursor: pointer;
    transition: .35s ease-out;
}

.more-posts-portfolio:hover {
    opacity: 0.8 !important;
}

.no-more-posts-portfolio, 
.more-posts-portfolio-loading {
    display: none;
}

.more-posts-portfolio-holder.scroll {
    margin-top: 50px;    
}

.more-posts-portfolio-holder.scroll .more-posts-portfolio, 
.more-posts-portfolio-holder.scroll .no-more-posts-portfolio {
    display: none !important;       
}

/* ===================================
    5. ImageSlider CSS
====================================== */

.owl-carousel .owl-item {
    width: 100%;
}

.owl-theme .owl-nav.disabled + .owl-dots {
    margin-top: 13px;
    margin-bottom: 40px;
    line-height: 0;
    text-align: left;
}

.owl-theme .owl-dots .owl-dot span {
    margin: 0;
    background-color: #fff;
    transition: all .3s ease;
    width: 30px;
    height: 10px;
    border-radius: 0;
}

.owl-theme .owl-dots .owl-dot {
    transition: all .3s ease;
    margin-right: 10px;
}

.owl-theme .owl-dots .owl-dot:hover span {
    background-color: #362F47;
}

.owl-theme .owl-dots .owl-dot.active span {
    background-color: #362F47;
}


/* ===================================
    7. Latest Posts CSS
====================================== */

.home-blog-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-blog-list > li {
    margin-bottom: 75px;
}

.home-blog-list > li:last-of-type {
    margin-bottom: 0;
}

.home-blog-list li {
    display: flex;
}

.home-blog-text-wrapper {
    width: calc(100% - 500px);
    min-width: 50%;
}

.home-blog-list h4 {
    font-size: 28px;
    line-height: 33px;
    font-weight: 700;
    padding: 0;
}

.home-blog-list h4 a:after {    
    display: none;
}

.home-blog-list .home-blog-image {
    margin-right: 50px;
    overflow: hidden;
    max-width: 50%;
    align-self: flex-start;
}

.home-blog-list li img {
    display: block;
    width: 450px;
    height: 350px;
    object-fit: cover;
    transition: transform .3s;
}

.home-blog-list li img:hover {
    transform: scale(1.1);
}

.home-blog-list .home-blog-excerpt {
    margin: 35px 0 60px;
}

a.home-blog-read-more {
    color: #E6E6F0;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 12px;
    line-height: 200%;
    position: relative;
    display: inline-table;
}

a.home-blog-read-more:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: calc(100% - 3px);
    transition: .35s ease-out;
    background-color: #E6E6F0;
}

a.home-blog-read-more:hover {
    color: #6db363;
}

a.home-blog-read-more:hover:after {
    width: 10px;
    background-color: #6db363;
}


/* ===================================
    9. Timeline CSS
====================================== */

.timeline-holder {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-holder:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    background-color: #E6E6F0;
    width: 3px;
    height: 100%;
}

.timeline-holder li {
    position: relative;
    background-color: #6db363;
    width: 42%;
    padding: 40px 55px 40px 40px;    
}

.timeline-holder li:hover .marker {
    background-color: #E6E6F0;
}

.timeline-holder li:nth-child(2n) {
    position: relative;    
    margin-right: 0;
    margin-left: auto;
    padding: 40px 40px 40px 55px;
}

.timeline-holder li:before {
    content: "";
    position: absolute;
    width: 45px;
    height: 3px;
    background-color: #E6E6F0;
    right: -60px;
    top: calc(50% - 1px);
    z-index: 2;
}

.timeline-holder li:nth-child(2n):before {
    right: auto;
    left: -58px;
}

.timeline-holder li .marker {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 90%;
    right: -15px;
    top: calc(50% - 1px);
    transform: translateY(-12px);
    transition: background-color .3s;
    border: 3px solid #E6E6F0;
    box-sizing: content-box;
    z-index: 2;
}

.timeline-holder li:nth-child(2n) .marker {
    right: auto;
    left: -13px;
    top: calc(50% - 1px);
    transform: translateY(-12px);
}

.timeline-holder li:after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 90%;
    right: -20px;
    top: calc(50% - 20px);
    background-color: #2e2e38;
    z-index: 1;
}

.timeline-holder li:nth-child(2n):after {
    right: auto;
    left: -20px;
}

.timeline-holder li .quote-image {
    width: 44px;
    margin-bottom: 15px;
}

.timeline-holder li p {    
    margin-bottom: 0;
}


/* ===================================
    9. Responsive CSS
====================================== */


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

    .grid-item .portfolio-image-link {
        width: 100%;        
        max-width: 100%;
    }

    .grid-item img {
        width: 100%
    }

    .portfolio-text-wrapper {
        padding-left: 0;
        width: 100%;
    }

    .portfolio-view-more,
    .portfolio-excerpt {
        margin-top: 20px;
    }

    .home-blog-list li {
        display: block;
    }

    .home-blog-list .home-blog-image {
        max-width: 100%;
        width: 100%;
        margin: 0 0 30px 0;
    }

    .home-blog-list li img {
        width: 100%

    }

    .home-blog-text-wrapper {
        display: block;
        width: 100%;
    }

    .home-blog-list h4 {
        font-size: 24px;
        line-height: 30px;
    }

    .home-blog-list .home-blog-excerpt {
        margin: 25px 0
    }    

    .timeline-holder:before {
        left: auto;
        right: 0;
    }

    .timeline-holder li {
        width: calc(100% - 35px);
        margin-bottom: 20px;
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    .timeline-holder li:before {
        width: 19px;
        right: -33px !important;
    }

    .timeline-holder li:nth-child(2n):before {        
        left: auto;
    }

    .timeline-holder li:nth-child(2n):after {
        right: -20px;
        left: auto;
    }

    .timeline-holder li:nth-child(2n) .marker {
        right: -15px;
        left: auto;
    }

}