
.ace-blog-title {
    line-height: normal;
}
.ace-blog-item .ace-blog-title{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ace-blog-item .ace-blog-title > a {
    display: block;
}
.ace-top-blog-elem .ace-blog-title {
    line-height: 1.3;
}
.ace-blog-info {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    text-align: left;
}
.ace-blog-category-name {
    text-transform: uppercase;
    color: var(--para-color);
    font-weight: 500;
}
.ace-blog-publish-time {
    font-size: 0.875rem;
    align-self: center;
    flex-wrap: wrap;
}
.ace-author-name + .ace-blog-publish-time {
    margin-top: 0.75rem;
}
.ace-author-img img {
    border: 1px solid var(--bg-color);
    border-radius: 100%;
}
.ace-blog-publish-time img {
    vertical-align: bottom;
    margin-right: 0.25rem;
}
.ace-blog-publish-time > span {
    position: relative;
    padding-right: 0.75rem;
    margin-right: 0.75rem;
}
.ace-blog-publish-time > span:before {
    content: "";
    width: 1px;
    height: 14px;
    background-color: var(--bg-color);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
}
.ace-blog-publish-time > span:last-child {
    padding-right: 0;
    margin-right: 0;
}
.ace-blog-publish-time > span:last-child::before{
    display: none;
}

.ace-cta-cont {
    background: linear-gradient(96.97deg, #0036D9 0%, #002CB1 68.14%, #001C73 100%);
    background-image: url('../img/home/cta-bg-desk.html');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #fff;
    padding: 4.5rem;
    border-radius: 3rem;
    text-align: center;
}
.ace-cta-title {
    margin-bottom: 2rem;
}
.ace-blog-head {
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.ace-blog-head-title, .ace-blog-head-link {
    margin: 0;
}
.ace-blog-head-filter {
    display: flex;
}
.ace-search-input, .ace-select-category {
    position: relative;
}
.ace-select-category::before {
    content: "";
    width: 1px;
    height: 14px;
    background-color: var(--bg-color);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
}
.ace-search-input .input-group-text {
    background-color: transparent;
    border: none;
    position: relative;
}
.ace-search-input .input-group-text::after {
    content: "";
    width: 1px;
    height: 14px;
    background-color: var(--bg-color);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
}
.search-input {
    border: none;
    color: var(--primary-color);
}
.ace-select-category {
    position: relative;
    min-width: 240px;
}
.select-category {
    border: none;
    color: var(--grey-color);
    background-image: url('../img/rsxigital/icons/dropdown-icon.svg');
    background-size: auto;
    text-transform: capitalize;
}
.search-input::placeholder{
    color: var(--grey-color);
}
.search-input:focus, .select-category:focus {
    outline: none;
    box-shadow: none;
}
.ace-tags-list .nav-item {
    flex: 0 1 auto;
}
.ace-tags-list {
    margin: 2rem -0.25rem 0;
    white-space: nowrap;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow: hidden;
    overflow-x: auto;
}
.ace-tags-list::-webkit-scrollbar
{
    height: 6px;
}
.ace-tags-list .nav-link {
    text-transform: capitalize;
    border-radius: 50px;
    background-color: var(--bg-color);
    color: var(--para-color);
    margin: 0.25rem;
    font-size: 0.875rem;
}
.ace-tags-list .nav-link.active {
    background-color: var(--blue-color);
}
.ace-tag-listing-wrap .ace-tags-list {
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.ace-tag-listing-wrap .ace-tags-list .nav-link {
    background-color: #fff;
    border: 1px solid var(--bg-color);
}
.ace-tag-listing-wrap .ace-tags-list .nav-link.active {
    background-color: #fff;
    color: var(--blue-color);
}

.ace-blog-item {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
}
.ace-blog-item-col {
    margin-top: 2rem;
}
.ace-blog-item .ace-blog-img + .ace-blog-cont {
    margin-top: 2rem;
}
.ace-blog-img {
    display: block;
    border-radius: 0.5rem;
    overflow: hidden;
}
.ace-blog-item .ace-blog-img{
    position: relative;
}
.ace-blog-item .ace-blog-img:after{
    content: '';
    display: block;
    width: 100%;
    padding-bottom: 56.25%;
}
.ace-blog-item .ace-blog-img img{
    position: absolute;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-position: center;
    object-fit: cover;
}
.ace-blog-img img {
    /* border-radius: 0.5rem; */
    width: 100%;
    transition: all 0.5s ease-in-out;
}
/* .ace-case-study-sec .ace-blog-img img, .ace-select-category-sec .ace-blog-img img {
    border-radius: 0.5rem;
} */

.ace-post-cat-cond .ace-blog-item{
    border: 1px solid #D4D8F3;
    background: #fff;
    border-radius: 0.5rem;
    transition: all 0.3s;
}
.ace-post-cat-cond .ace-blog-item .ace-blog-cont{
    padding: 0 1rem 1rem;
}
.ace-post-cat-cond .ace-blog-item:hover{
    box-shadow: 0px 20px 40px 0px #2123401A;
}

.ace-post-cat-cond .ace-blog-item .ace-blog-title{
    font-weight: 600;
}

.ace-top-blog-sec .ace-blog-img {
    /*min-height: 350px;*/
}
.ace-top-blog-sec .ace-blog-img img {
    /*max-width: 100%;*/
    /*height: auto;*/
    /*min-height: 350px;*/
    /*object-position: center;*/
    /*object-fit: cover;*/
}
/* .ace-blog-item:hover .ace-blog-img img, .ace-blog-img:hover img {
    transform: scale(1.05);
} */

.ace-search-blog-head {
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-color);
}
.ace-search-blog-head .ace-search-input {
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    padding: 0.5rem;
    margin-bottom: 1rem;
}

.ace-search-post-head {
    background-color: var(--bg-color);
    padding: 1rem 1.5rem;
}
.ace-search-post-head .page-title {
    margin-bottom: 0;
}
.ace-post-article-item {
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--bg-color);
}
.ace-post-article-item:hover .entry-title {
    color: var(--blue-color);
}

.ace-other-tag-list > li,
.ace-other-category-list > li {
    position: relative;
    padding-left: 2rem;
    border: none;
    border-bottom: 1px solid rgba(231, 234, 240, 1);
}
.ace-other-tag-list > li::before, .ace-other-tag-list > li::after,
.ace-other-category-list > li::before, .ace-other-category-list > li::after {
    content: "";
    width: 24px;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
}
.ace-other-tag-list > li::before {
    background-image: url('../img/rsxigital/icons/tag.html');
    left: 0;
}
.ace-other-category-list > li::before {
    background-image: url('../img/rsxigital/icons/category-icon.svg');
    left: 0;
}
.ace-other-tag-list > li::after,
.ace-other-category-list > li::after {
    background-image: url('../img/rsxigital/icons/list-arrow.svg');
    right: 0;
}
.ace-other-tag-list > li > a,
.ace-other-category-list > li > a {
    display: block;
    color: var(--txt-txt);
    font-weight: 600;
}
.ace-other-tag-list > li > a:hover,
.ace-other-category-list > li > a:hover {
    color: var(--blue-color);
}

/* Blog Post detail css */
.ace-post-top-cont .ace-blog-img.ace-blog-detail-img {
    /*cursor: pointer;*/
    /*position: relative;*/
}
.ace-post-thumb-btn {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.25rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0.5rem;
    box-shadow: 1px 2px 8px 1px #0036d9;
}
.ace-post-top-cont .ace-blog-img img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--bg-color);
}
.ace-post-table-wrap {
    position: sticky;
    position: -webkit-sticky;
    max-height: calc(100vh - 100px);
    overflow: auto;
}
.ace-post-table-list {
    border-left: 2px solid var(--bg-color);
    margin: 2rem 0;
}
.ace-post-table-list li {
    position: relative;
    padding: 0.25rem 0 0 1rem;
    margin-bottom: 1.25rem;
}
.ace-post-table-list li a {
    color: var(--txt-grey);
}
.ace-post-table-list li.active::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--blue-color);
}
.ace-post-table-list li.active a {
    color: var(--blue-color);
}
.ace-post-detail-cont h2 {
    font-size: 1.75rem;
}
.ace-post-detail-cont h3, .ace-post-detail-cont ul li > h3 {
    font-size: 1.5rem;
}
.ace-post-detail-cont h4 {
    font-size: 1.25rem;
}
.ace-post-detail-cont h5 {
    font-size: 1.1rem;
}
.ace-post-detail-cont h6 {
    font-size: 1rem;
}
.ace-post-detail-cont h2, .ace-post-detail-cont h3, .ace-post-detail-cont h4, .ace-post-detail-cont h5, .ace-post-detail-cont h6, .ace-post-detail-cont h2 b, .ace-post-detail-cont h3 b, .ace-post-detail-cont h4 b, .ace-post-detail-cont h5 b, .ace-post-detail-cont h6 b, .ace-post-detail-cont h2 strong, .ace-post-detail-cont h3 strong, .ace-post-detail-cont h4 strong, .ace-post-detail-cont h5 strong, .ace-post-detail-cont h6 strong {
    color: var(--primary-color);
    font-weight: 600;
}
.ace-post-detail-cont a/*, .ace-post-top-sec a*/ {
    color: var(--blue-color);
    font-weight: 500;
}
.ace-post-detail-cont p + h2, .ace-post-detail-cont img + h2, .ace-post-detail-cont table + h2 {
    margin-top: 2.5rem;
}
.ace-post-detail-cont p + h3, .ace-post-detail-cont p + h4, .ace-post-detail-cont p + h5, .ace-post-detail-cont p + h6, .ace-post-detail-cont img + h3, .ace-post-detail-cont img + h4, .ace-post-detail-cont img + h5, .ace-post-detail-cont img + h6, .ace-post-detail-cont table + h3, .ace-post-detail-cont table + h4, .ace-post-detail-cont table + h5, .ace-post-detail-cont table + h6, .ace-post-detail-cont ul li > h3 {
    margin-top: 2rem;
}