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

.elementor nav .hfe-nav-menu .menu-item a.hfe-menu-item:hover, 
.elementor nav .hfe-nav-menu .sub-menu a.hfe-sub-menu-item:hover,
.elementor nav .hfe-nav-menu .menu-item.current-menu-ancestor a.hfe-menu-item,
.elementor nav .hfe-nav-menu .sub-menu .menu-item.current-menu-item a.hfe-sub-menu-item.hfe-sub-menu-item-active{
    color: var(--cb-link);
}

.cb-text-logo .elementor-widget-container {
    background-color: var(--cb-link);
}

.cb-black-button .elementor-button,
.cb-black-button .elementor-button:visited  {
    background-color: var(--cb-black);
    border-color: var(--cb-black);
    color: var(--cb-white);
    fill: var(--cb-white);
}

.cb-black-button .elementor-button:hover,
.cb-black-button .elementor-button:focus {
    background-color: transparent;
    color: var(--cb-black);
}

.cb-white-button .elementor-button,
.cb-white-button .elementor-button:visited {
    background-color: var(--cb-white);
    border-color: var(--cb-white);
    color: var(--cb-black);
    fill: var(--cb-black);
}

.cb-white-button .elementor-button:hover,
.cb-white-button .elementor-button:focus {
    background-color: transparent;
    color: var(--cb-white);
}

.cb-col-black-background {
    background-color: var(--cb-black);
}

.cb-col-white-background {
    background-color: var(--cb-white);
}

.cb-white-text {
    color: var(--cb-white);
}

.cb-white-text a {
    color: var(--cb-white);
}

.cb-white-text a:hover {
    color: var(--cb-link);
}

.cb-white-text h1,
.cb-white-text h2,
.cb-white-text h3,
.cb-white-text h4,
.cb-white-text h5,
.cb-white-text h6 {
    color: var(--cb-white);
}

.cb-white-text .elementor-widget-container .elementor-counter .elementor-counter-number-wrapper {
    color: var(--cb-white);
}

.elementor-widget p {
    margin-bottom: 0;
}

.col-mr-0.elementor-section .elementor-container {
    margin-right: 0;
}

.col-ml-0.elementor-section .elementor-container {
    margin-left: 0;
}

.cocobasic-pulse .elementor-custom-embed-play i {
    animation: pulse 2s infinite;
    background-color: rgba(228, 228, 228, 0.15);
    padding: 30px;
    border-radius: 90%;
}

.cocobasic-accordion .elementor-accordion-item {
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    margin-bottom: 30px;
}

.elementor-widget-container .elementor-counter .elementor-counter-number-wrapper,
.elementor-widget-container .elementor-counter .elementor-counter-title {
    color: var(--cb-body);
}

.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;
}

.cocobasic-milestone-row .elementor-column {
    width: 25% !important;
}

.elementor-widget-coco-imageslider {
    line-height: 0;
    font-size: 0;
}

.cb-image-slider-wrapper img.image-slide-img {
    object-fit: cover;
    width: 100%;
}

.elementor-hf-template.ehf-footer a, 
.elementor-hf-template.ehf-footer a, 
.ehf-footer footer a {
    color: var(--cb-body);
}

.elementor-hf-template.ehf-footer .cb-white-text a, 
.elementor-hf-template.ehf-footer .cb-white-text a, 
.ehf-footer footer .cb-white-text a {
    color: var(--cb-white);
}

.elementor-hf-template.ehf-footer a:hover, 
.elementor-hf-template.ehf-footer a:hover, 
.ehf-footer footer a:hover {
    color: var(--cb-link);
}

/* ===================================
   2. Single Portfolio / Gallery Image
====================================== */

.coco-img-gallery img {
    max-width: none !important;    
    max-height: none !important;    
}

.coco-img-gallery .default img {
    transition: opacity .3s linear;
}

.coco-img-gallery .default img:hover {
    opacity: 0.8;
}

.coco-img-gallery .default .wp-caption-text {
    font-weight: 500;
    font-style: normal;
    font-size: 12px;
    letter-spacing: 4px;
}

.coco-img-gallery .over a:last-of-type {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.coco-img-gallery .over .wp-caption-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cb-black);
    color: var(--cb-white);
    margin: 0;
    opacity: 0;
    transition: opacity .3s;
}

.coco-img-gallery:hover .over .wp-caption-text {
    opacity: 1;
}

.coco-img-gallery .over .wp-caption-text-wrapper {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    font-weight: 500;
    font-style: normal;
    font-size: 12px;
    letter-spacing: 4px;
}

.coco-img-gallery .over .wp-caption-text-wrapper p {               
    margin-bottom: 0;
}

.coco-img-gallery .tooltip .wp-caption-text {
    display: none;
}

/* ===================================
   3. Tipper CSS
====================================== */

.tipper {
    width: 100%;
    min-height: 1px;
    position: absolute;
    top: -999px;
    left: -999px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s linear;
    max-width: 500px;
}

.tipper p {
    margin-bottom: 0;
}

.tipper-visible {
    opacity: 1;
}

.tipper-content {
    background: var(--cb-black);    
    color: var(--cb-white);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 4px;
    display: block;
    float: left;    
    margin: 0;
    padding: 10px 15px;
    position: relative;
}

.tipper-caret {
    width: 0;
    height: 0;
    content: '';
    display: block;
    margin: 0;
    position: absolute;
}

.tipper-left .tipper-content {
    box-shadow: -1px 0 5px rgba(0, 0, 0, 0.35);
}


/* ===================================
    4. Scroll Animation CSS
====================================== */

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

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

.icon-scroll {
    width: 38px;
    height: 60px;
    box-shadow: inset 0 0 0 3px var(--cb-white);
    border-radius: 25px;
}

.icon-scroll:before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--cb-white);
    margin-left: -4px;
    top: 37px;
    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: 62px;
    height: 84px;
    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);
    }

}

/* ===================================
   5. 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: var(--cb-white);
}

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: var(--cb-white);
    font-weight: 400;
}


/* ===================================
    6. Carousel Slider CSS
====================================== */

.elementor-widget-coco-carouselslider .cb-num-auto .swiper-slide {
    max-width: 85%;
    width: auto;
}

.elementor-widget-coco-carouselslider .swiper-slide img {
    width: 100%;
}

.elementor-widget-coco-carouselslider .cb-num-auto .swiper-slide img {
    width: auto;
}

.elementor-widget-coco-carouselslider .default p:first-of-type {
    margin-top: 20px;
}

.elementor-widget-coco-carouselslider p {
    font-weight: 600;
    margin-bottom: 0;
    display: block;
    top: 50%;
    transform: translateY(-50%);
    position: relative;
}

.elementor-widget-coco-carouselslider .over a {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
}

.elementor-widget-coco-carouselslider .over .swiper-slide-text-holder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--cb-black);
    color: var(--cb-white);
    text-align: center;
    opacity: 0;
    transition: .3s linear;
}

.elementor-widget-coco-carouselslider .swiper-slide-caption-title {
    font-weight: 500;
    font-style: normal;
    font-size: 12px;
    letter-spacing: 4px;
}

.elementor-widget-coco-carouselslider .over:hover .swiper-slide-text-holder {
    opacity: 1;
}

.elementor-widget-coco-carouselslider .tooltip .swiper-slide-text-holder {
    display: none;
}

.elementor-widget-coco-carouselslider .swiper-slide-img-holder {
    position: relative;
}

.cb-center-carousel.elementor-widget-coco-carouselslider .swiper-container {
    width: 100% !important;
}

.cb-center-carousel.elementor-widget-coco-carouselslider .swiper-slide {
    max-width: 100%;    
}

.elementor-widget-coco-carouselslider .swiper-scrollbar-drag {
    height: 100%;
    width: 100%;
    position: relative;
    background-color: var(--cb-black);
    border: 10px solid var(--cb-white);
    left: 0;
    top: -12px;
    height: 6px;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

.elementor-widget-coco-carouselslider .swiper-scrollbar {
    position: relative;
    z-index: 50;
    height: 2px;
    width: 90%;
    max-width: 600px;
    margin-top: 35px;
    margin-bottom: 20px;
    right: auto;
    left: 0;
    background-color: #d1d1d1;
    border-radius: 0;
    cursor: pointer;
}

.elementor-widget-coco-carouselslider .cb-num-1 + .swiper-scrollbar {
    left: 50%;
    transform: translateX(-50%);
}

.cb-center-carousel.elementor-widget-coco-carouselslider .swiper-scrollbar {
    left: 50%;    
    transform: translateX(-50%);
}


/* ===================================
    7. 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: 50px;
    justify-items: center;
    height: 60px;
    position: relative;
    width: calc(100% - 150px);
}

.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 {
    position: relative;
    width: 100%;
    height: 100%;
}

.skill:after {
    content: "";
    height: 4px;
    width: calc(100% + 150px);
    position: absolute;
    bottom: 0;
    left: 0;
    background: #7b7b7b;
}

.skill-text {
    color: var(--cb-black);
    font-size: 12px;
    line-height: 100%;
    font-weight: 600;
    letter-spacing: 5px;
    position: relative;
    z-index: 3;
    transform: translateY(-50%);
    top: 50%;
    left: 35px;
    vertical-align: top;
    display: inline-block;
}

.skill-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 10%;
    height: 60px;
    transition: width .7s;
    background-color: var(--cb-white);
    z-index: 2;
}

.skill-num {
    font-size: 42px;
    color: var(--cb-white);
    position: absolute;
    right: -150px;
    bottom: -12px;
    font-weight: 700;
}


/* ===================================
    8. Portfolio CSS
====================================== */

#portfolio-wrapper .category-filter-list {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    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: .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: var(--cb-black);
    color: var(--cb-white);
}

.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: calc(100% + 30px);
    margin-left: -15px;    
    position: relative;
    display: block;
    overflow: hidden;
    padding: 0;
    list-style: none;
}

.grid-item {
    float: left;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
    transition: opacity .3s;
    border: 15px solid transparent;
}

.grid-item img {
    display: block;
    width: 100%;
    height: auto; 
    max-height: none;
    max-width: none;
    object-fit: cover;
}

.grid-size-1 .grid-sizer,
.grid-size-1 .grid-item {
    width: 100%;
}

.grid-size-2 .grid-sizer,
.grid-size-2 .grid-item {
    width: 50%;
}

.grid-size-3 .grid-sizer,
.grid-size-3 .grid-item {
    width: calc(100% / 3);
}

.grid-size-4 .grid-sizer,
.grid-size-4 .grid-item {
    width: 25%;
}

.grid-size-5 .grid-sizer,
.grid-size-5 .grid-item {
    width: 20%;
}

.grid-size-6 .grid-sizer,
.grid-size-6 .grid-item {
    width: calc(100% / 6);
}

a.item-link {
    display: block;
}

.grid-style-hover .portfolio-text-wrapper {
    top: 50%;
    transform: translateY(-50%);
    position: relative;
}

.grid-style-hover .portfolio-text-holder {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    font-size: 20px;
    background-color: var(--cb-black);
    display: block;
    opacity: 0;
    transition: opacity .3s ease;
    text-align: center;
}

.grid-style-hover .grid-item:hover .portfolio-text-holder {
    opacity: 1;
}

.portfolio-text {
    font-weight: 500;
    font-style: normal;
    color: var(--cb-white);
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 4px;
}

.grid-style-default .portfolio-text {
    color: var(--cb-body);
    text-align: center;    
}

.grid-style-default .grid-item img {
    transition: opacity .3s linear;
}

.grid-style-default .grid-item img:hover {
    opacity: 0.8;
}

.grid-style-tooltip .portfolio-text-holder {
    display: none;
}

.more-posts-portfolio-holder {
    margin-top: 50px;
    min-height: 1px;
    text-align: center;
}

.more-posts-portfolio, 
.no-more-posts-portfolio, 
.more-posts-portfolio-loading {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;    
    color: var(--cb-white);
    background-color: var(--cb-black);
    border-style: solid;
    border-width: 2px;
    border-color: var(--cb-black);
    border-radius: 0px;
    padding: 20px 35px 20px 35px; 
    position: relative;
    display: inline-block;
}

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

.more-posts-portfolio:hover {
    color: var(--cb-black);
    background-color: var(--cb-white);
}

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

.single.single-portfolio .nav-links {
    margin-bottom: 0;
}


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

.timeline-holder {
    color: var(--cb-white);
    padding: 0;
    margin: 0;
}

.timeline-holder li {
    display: flex;
    align-items: center;
    position: relative;
}

.timeline-holder li:before {
    content: '';
    position: absolute;
    left: 23%;
    top: 0;
    background-color: var(--cb-white);
    width: 3px;
    height: 100%;
}

.timeline-holder li + li {
    padding-top: 37px;
}

.timeline-holder li .date {
    flex: 0 0 28%;
    max-width: 28%;
    font-weight: 700;
    font-size: 50px;
    line-height: 30px;
    transition: .35s ease-out;
}

.timeline-holder li:hover .date {
    -webkit-transform: translateX(15px);
    transform: translateX(15px);
    color: #797979;
}

.timeline-holder li p {
    flex: 0 0 72%;
    max-width: 72%;
    padding: 0 50px 0 80px;
    cursor: default;
    transition: .35s ease-out;
    margin-bottom: 0;
}

.timeline-holder li:hover p {
    -webkit-transform: translateX(-15px);
    transform: translateX(-15px);
}


/* ===================================
    10. Timeline Circle CSS
====================================== */

ul.timeline-holder-circle {
    margin: 0;
    padding: 0 0 0 55px;
    -webkit-transform: translateZ(0);
}

li.timeline-event {
    margin: 0 0 42px 60px;
    position: relative;
    padding-top: 5px;
    list-style: none;
    transition: .3s;
}

li.timeline-event:before {
    content: "";
    width: 3px;
    height: calc(100% - 20px);
    position: absolute;
    background-color: var(--cb-body);
    left: -30px;
    top: 51px;
}

li.timeline-event:last-child:before {
    display: none;
}

li.timeline-event:last-child {
    margin-bottom: 0;
}

li.timeline-event span.timeline-circle:after {
    content: "";
    position: absolute;
    width: 19px;
    height: 19px;
    left: -8px;
    top: 11px;
    border-radius: 90%;
    background-color: var(--cb-body);
    opacity: 0;
    transition: opacity .3s;
}

li.timeline-event:hover span.timeline-circle:after { 
    opacity: 1;
}

span.timeline-circle {
    position: absolute;
    top: 0;
    left: -30px;
}

span.timeline-circle:before {
    content: "";
    display: block;
    width: 35px;
    height: 35px;
    border-radius: 90%;
    border: 3px solid var(--cb-body);
    position: absolute;
    left: -16px;
    top: 3px;
    z-index: 1;
    transition: .3s;
}

.timeline-event-date {
    position: absolute;
    left: -70px;
    top: 6px;
    transition: .3s;
    color: var(--cb-body);
    font-weight: 700;
    transform: translateX(-100%);
}

li.timeline-event:hover .timeline-event-date {
    left: -80px;
}

.timeline-event-content {    
    text-align: left;
    margin-left: 50px;
}


/* ===================================
    11. Responsive CSS
====================================== */

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

    .timeline-holder li p {
        padding-right: 0;
    }

    .timeline-holder li:before {
        left: 32%;
    }

}

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

    .grid {
        width: 100%;
        margin: 0;    
    }

    .grid-sizer {
        width: 100%;
    }

    .grid-item {
        top: 0 !important;
        left: 0 !important;
        position: relative !important;
        width: 100% !important;
        margin-bottom: 20px;
        border: 0;
        transform: none !important;
    }

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

    .coco-img-gallery {
        position: relative !important;
        left: 0 !important;
        top: 0 !important; 
        width: 100% !important;
        height: auto !important;  
        margin-bottom: 20px !important;
    }

    .coco-img-gallery img {
        width: 100% !important;
        height: auto !important;
    }

    .tipper,
    .grid-style-hover .portfolio-text-holder,
    .coco-img-gallery .over .wp-caption-text {
        display: none !important;
    }

    .skill-holder {
        height: 30px;
        width: calc(100% - 100px);
    }

    .skill-fill {
        height: 50px;     
    }

    .skill-text {
        left: 10px;
        letter-spacing: 1px;
        top: 8px;
    }

    .skill-num {
        font-size: 30px;
        bottom: -10px;
        right: -100px;
    }

    .skill:after {
        width: calc(100% + 100px);
    }

    .timeline-holder li:before {
        left: 25%;
    }

    .timeline-holder li .date {
        font-size: 46px;
    }

    .timeline-holder li p {
        padding: 0 20px 0 50px;
    }

    .elementor-widget-coco-carouselslider .swiper-scrollbar {
        left: 20px;
    }

    .timeline-event-content {
        margin-left: 10px;
    }

    li.timeline-event {
        margin-left: 30px;
    }

}

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

    .timeline-holder li {
        flex-wrap: wrap;
    }

    .timeline-holder li + li {
        padding-top: 60px;
    }

    .timeline-holder li:before {
        display: none;
    }

    .timeline-holder li p,
    .timeline-holder li .date {
        flex: 0 0 100%;
        max-width: 100%;
        transform: none !important;
    }

    .timeline-holder li p {
        padding: 0;
    }

    .timeline-holder li .date {
        margin-bottom: 20px;
    }

}

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

    .cocobasic-milestone-row .elementor-column {
        width: 50% !important;
    }

}