
/*--------------------------------------------------------------
## Custom Css 
--------------------------------------------------------------*/
.box-image:before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}
.box-image:hover:before {
    -webkit-animation: shine 0.75s;
    animation: shine 0.75s;
}
@-webkit-keyframes shine {
    100% {
        left: 125%
    }
}
@keyframes shine {
    100% {
        left: 125%
    }
}
.box-child-cat .section-title-center .section-title-main {
    font-weight: bold;
    background: linear-gradient(to right, #f2761f, #fbaf14);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.desc-for-cat {
    position: relative;
}
.desc-for-cat .box-image {
    max-width: 75%;
    margin: 0 0 0 auto;
}
.desc-for-cat .box-overlay .box-text .box-text-inner h4 {
    font-weight: bold;
    transform: skew(25deg);
    color: #fff;
    padding: 15px;
    font-size: 20px;
}
.desc-for-cat .box-overlay .box-text .box-text-inner {
    background: linear-gradient(to right,#f06a21,#fcb713);
    position: relative;
    transform: skew(-25deg);
    font-size: 13px;
    width: fit-content;
    display: inline-block;
}
.desc-for-cat .box-overlay .box-text {
    text-shadow: unset;
    text-align: left;
    padding: 0;
}
.box-project-x .box-image {
    margin: unset;
}
.desc-for-cat .box-project-x .box-text {
    text-align: right;
}
.box-child-cat {
    position: relative;
}
.box-child-cat .box-text {
    padding: 8px 0 0;
}
.box-child-cat .post-title {
    text-transform: none;
    font-size: 16px;
    -webkit-text-fill-color: #212529;
    background: transparent;
    width: 100%;
}
.box-child-cat .post-title {
    margin: 0;
    font-weight: normal;
}
.box-child-cat .post-title a {
    color: #212529;
    margin: 0;
}
.post-readmore {
    margin-bottom: 40px;
}
.list-child-cat .box-child-cat:nth-child(even) .desc-for-cat .block-header-title-vertical {
    left: calc( 100% + 40px );
}
.list-child-cat .box-child-cat:nth-child(even) .desc-for-cat .block-header-title-vertical p {
    margin-left: unset;
}
/*--------------------------------------------------------------
## Responsive 
--------------------------------------------------------------*/
@media only screen and (min-width: 700px) and (max-width: 1079.98px) {

}
@media only screen and (max-width: 849.98px) {
    .desc-for-cat .box-overlay .box-text .box-text-inner h4 {
        font-size: 18px;
        padding: 12px;
    }
    .box-child-cat .row .post-item {
        padding-top: 0px;
    }
    .desc-for-cat {
        margin-bottom: 30px;
    }
}

@media only screen and (max-width: 699.98px) {
    .desc-for-cat .box-image {
        max-width: 100%;
    }
    .desc-for-cat .box-image .image-cover {
        padding-top: 150px !important;
    }
    .desc-for-cat .box-overlay .box-text .box-text-inner h4,
    .desc-for-cat .box-overlay .box-text .box-text-inner {
        transform: unset;
    }
    .desc-for-cat .box-overlay .box-text .box-text-inner h4 {
        font-size: 16px;
        padding: 8px;
    }
}

@media only screen and (max-width: 549.98px) {
    .blog-archive .content-category .post-item .box-text {
        padding-bottom: 0;
    }
    .box-desc-main-cat .box-text {
        font-size: 12px;
    }
}

@media only screen and (min-width: 300px) {
    .block-header-title-vertical {
        position: absolute;
        top: calc(970px + 3rem);
        width: 1px;
        left: -50px;
    }
    .block-header-title-vertical p {
        line-height: 1;
        font-weight: bold;
        font-size: 35px;
        text-transform: uppercase;
        color: #f06a21;
        opacity: 0.3;
        background: linear-gradient(to right, #f06a21, #fcb713);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        transform: rotate(270deg);
        -moz-transform: rotate(270deg);
        -webkit-transform: rotate(270deg);
        -o-transform: rotate(270deg);
        -ms-transform: rotate(270deg);
        transform-origin: top left;
        margin-top: 0;
        width: 1020px;
        text-align: right;
    }
    .box-desc-main-cat .section {
        padding-top: 50px !important;
        padding-bottom: 20px !important;
    }
}

@media only screen and (min-width: 550px) {
    .block-header-title-vertical p {
        font-size: 25px;
        margin-left: 0px;
    }
    .blog-archive .content-category .post-item .box-vertical .box-text {
        padding: 0 0 0 30px;
    }
    .blog-archive.style2 .content-category .post-item .box-vertical {
        display: flex;
        justify-content: space-between;
    }
    .blog-archive.style2 .content-category .post-item .box-vertical .box-text,
    .blog-archive.style2 .content-category .post-item .box-vertical .box-image {
        width: 100% !important;
        max-width: 50% !important;
        flex-basis: 50%;
    }
    .blog-archive.style2 .content-category .post-item .box-vertical .box-text .box-text-inner {
        height: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        flex-direction: column;
    }
    .blog-archive.style2 .content-category .post-item:nth-child(odd) .box-vertical .box-image {
        padding-right: 15px;
    }
    .blog-archive.style2 .content-category .post-item:nth-child(odd) .box-vertical .box-text {
        padding: 0 0 0 15px;
    }
    .blog-archive.style2 .content-category .post-item:nth-child(even) .box-vertical .box-text {
        order: -1;
    }
    .blog-archive.style2 .content-category .post-item:nth-child(even) .box-vertical .box-image {
        padding-left: 15px;
    }
    .blog-archive.style2 .content-category .post-item:nth-child(even) .box-vertical .box-text {
        padding: 0 15px 0 0;
    }
    .blog-archive.style2 .content-category .post-item .box-vertical .box-text .post-title {
        text-transform: none;
    }
    .box-desc-main-cat .box-text {
        font-size: 14px;
    }
    .box-desc-main-cat .section {
        padding-top: 80px !important;
        padding-bottom: 50px !important;
    }
}

@media only screen and (min-width: 700px) {
    .block-header-title-vertical p {
        font-size: 35px;
        /* margin-left: -40px; */
    }
}

@media only screen and (min-width: 850px) {
    .blog-archive .content-category .post-item {
        padding-bottom: 60px;
    }
    .box-child-cat .row .post-item {
        padding-top: 3rem;
    }
    .desc-for-cat .row > .col {
        padding-bottom: 0;
    }
    .box-desc-main-cat .box-text {
        font-size: 16px;
    }
    .box-desc-main-cat .section {
        padding-top: 150px !important;
        padding-bottom: 80px !important;
    }
}

@media only screen and (min-width: 992px) {
    .block-header-title-vertical p {
        font-size: 50px;
    }
}

@media only screen and (min-width: 1200px) {
    .block-header-title-vertical {
        left: -130px;
    }
    .block-header-title-vertical p {
        font-size: 90px;
    }
    .box-desc-main-cat .section {
        padding-top: 215px !important;
        padding-bottom: 100px !important;
    }    
}