.carousel-item-next, .carousel-item-prev, .carousel-item.active {
    display: flex;
}

#carouselCategory {
    background: #989A99;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in;
}

section#mainHeroBanner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: auto;
    top: auto;
    height: 80px;
    width: 100%;
}

p.categoryDateBlock {
    display: flex;
    margin-bottom: 0;
    align-items: flex-start;
}
.blog_post_content {
    height: 248px;
    overflow: hidden;
}

p.categoryDateBlock span {
    display: flex;
    color: #000000;
    align-items: center;
    width:auto;
}

p.categoryDateBlock .catname {
    align-items: flex-start;
}

p.categoryDateBlock span i {
    color: #000000;
    margin-right: 10px;
    font-size: 15px;
}

p.categoryDateBlock .catname i {
    margin-top: 7px;
}

.categoryBlogBlocks h5{
    font-size: 38px;
    line-height: 47px;
    color:#000000;
    margin:35px 0;
}

.categoryBlogBlocks a {
    display: flex;
    color: black;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease-in;
}

.categoryBlogBlocks a i {
    color:#FFD700;
    margin-left: 15px;
    text-decoration: none;
}

.categoryBlogBlocks a:hover {
    color:#FFD700;
    text-decoration: none;
}

.carousel_content_section {
    position: relative;
}

.carousel_content_section::after {
    content: "";
    width: 5px;
    height: 60%;
    background: #FFD700;
    position: absolute;
    right: -5px;
    z-index: 9;
}

#carouselCategory .row.carousel-item {
    --bs-gutter-x: 0rem !important;
}

.row.arrows {
    position: absolute;
    z-index: 999;
    width: 100%;
    bottom: 30px;
    left: 0;
}

.arrowBlog {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.arrowBlog .carousel-control-next,
.arrowBlog .carousel-control-prev {
    opacity: 1;
    text-decoration: none;
    width: 44px !important;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    border-radius: 100%;
    margin-left: 15px;
    transition: all 0.3s ease-in-out;
}

.arrowBlog .carousel-control-next:hover,
.arrowBlog .carousel-control-prev:hover {
    background: #216A95;
}

.main_page_content {
    margin:100px 0;
}

.post_block {
    width: 100%;
    background: #98999a;
    position: relative;
    height: 100%;
}

span.post_date {
    position: absolute;
    z-index: 99;
    color: white;
    padding: 10px;
    background: #216A95;
    font-weight: bold;
    border-radius: 0px 0px 15px 0px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

span.post_date i {
    margin-right: 10px;
}

.blog_post_block_content {
    padding: 40px 40px 60px;
}

.blog_post_block_content p:last-child {
    margin-bottom: 0px;
}

.post_block_section {
    margin-bottom: 30px;
}

p.blog_categoryDateBlock.black {
    font-size: 16px;
    margin-top: 15px;
    text-transform: capitalize;
    margin-bottom: 35px;
}

p.blog_categoryDateBlock.black i {
    font-size: 14px;
    margin-right: 10px;
}

p.blog_categoryDateBlock span.catname i {
    margin-right: 6px !important;
}

p.blog_categoryDateBlock span.authorname {
    margin-right: 0px;
}

.blog_post_content.black {
    margin-bottom: 20px;
}

a.blog_read_more {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    position: absolute;
    font-weight: bold;
    bottom: 30px;
    color:#000000;
    transition: all 0.3s ease-in;
}

a.blog_read_more i {
    margin-left: 10px;
    margin-top: 4px;
    color: #000000;
    font-weight: bold;
    transition:all 0.3s ease-in;
}

a.blog_read_more:hover {
    text-decoration: none;
}

a.blog_read_more:hover i{
    color:#FFD700;
}

p.blog_categoryDateBlock.black span {
    display: block;
}

.catname {
    text-transform: capitalize;
}

span.post_date {
    text-transform: uppercase;
}

span.post_date sup{
    text-transform: lowercase;
}
@media only screen and (max-width: 1400px) {
    .categoryBlogBlocks h5 {
        font-size: 28px;
        line-height: 34px;
        color: #000000;
        margin: 25px 0;
    }
}

@media only screen and (max-width: 1200px){
    .categoryBlogBlocks h5 {
        font-size: 20px;
        line-height: 24px;
        margin: 15px 0;
    }
    .carousel_content_section::after {
        height: 40%;
        margin-top: 10%;
    }
    .blog_categoryDateBlock span {
        display: block;
    }
    .blog_post_block_content {
        padding: 25px 25px 50px;
    }
    .blog_post_block_content h5 {
        line-height: 24px;
    }
    a.blog_read_more {
        bottom:15px;
    }

}

@media only screen and (max-width: 993px) {
    .carousel_content_section {
        position: absolute;
        z-index: 99;
        background: white;
        width: 90%;
        border-radius: 30px 30px 0 0;
        left: 5%;
        bottom: 0;
        padding: 2% 5%;
        height: 220px;
    }
    p.categoryDateBlock {
        display: none !important;
    }
    .carousel_content_section::after {
        content:none;
    }
    .carousel_content_section .blogWhiteContent {
        margin-left: 0px;
    }
    .categoryBlogBlocks h5,
    .categoryBlogBlocks a {
        font-size: 28px;
        line-height: 40px;
        margin: 0 0 20px 0;
        font-weight: 600;
    }
    .categoryBlogBlocks a {
        margin-bottom: 0;
        font-size: 26px;
    }
    .categoryBlogBlocks a i {
        color: #216A95;
        margin-left: 5px;
        text-decoration: none;
        margin-top: 5px;
    }
    .carousel-indicators {
        z-index: 99;
        text-align: center;
    }
    .carousel-indicators button {
         text-transform: none;
         width: 15px !important;
         height: 15px !important;
         border-radius: 100%;
         background: black !important;
         box-shadow: none;
         margin: 0 5px 10px 0;
         outline: none;
         border: none !important;
        transition: all 0.3s ease-in-out;
     }
    .carousel-indicators .active,
    .carousel-indicators button:hover {
        background: #216A95 !important;
    }
    .carousel-indicators .active {
        width:20px !important;
        height: 20px !important;
    }
    .carousel-indicators button:focus{
        box-shadow: none;
        outline: none;
        border:none;
    }
    h1.pageTitle {
        padding: 0;
        background: none;
        color: #ffffff;
        border-radius: 0;
        box-shadow: none;
        z-index: 9;
        position: absolute;
        top: -50px;
        width: 100%;
        left: 0px;
    }
    .main_page_content .container {
        position: relative;
        padding-top: 150px !important;
    }
    section#search-2 {
        top: 35px !important;
    }
    .blog_slider_image {
        width: 100% !important;
    }
    .carousel_content_section .blogWhiteContent .col-lg-9 {
        width: 100%;
    }
    .carousel-indicators {
        display: flex !important;
    }
    .carousel_content_section .blogWhiteContent {
        height: 100%;
    }
}
@media only screen and (max-width: 767px) {
    .carousel_content_section {
        padding: 20px;
        height: 45%;
    }
    .categoryBlogBlocks h5, .categoryBlogBlocks a {
        font-size: 20px;
        line-height: 28px;
        margin: 0 0 20px 0;
    }
    .categoryBlogBlocks a {
        font-size: 18px;
    }


}
@media only screen and (max-width: 577px) {
    .carousel_content_section {
        padding: 10px;
        height: 50%;
    }
    .categoryBlogBlocks h5, .categoryBlogBlocks a {
        font-size: 16px;
        line-height: 20px;
        margin: 0 0 10px 0;
    }
    .categoryBlogBlocks a {
        font-size: 13px;
    }
    .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 5px 1px 0;
    }
    .carousel-indicators .active {
        width: 15px;
        height: 15px;
    }
    .main_page_content {
        margin: 75px 0;
    }
    h1.pageTitle {
        top: -30px !important;
    }
}