@import "./blog-sidebar.css";


ul#search-results-list {
    display: none;
}

.blog-main .heading-container h1 span {
    color: var(--color-primary);
    font-weight: 700;
}

.blog-main .heading-container h1 {
    margin: 0px;
}

.row.heading_top_sec {
    align-items: center;
}

.heading_top_sec .heading-container {
    margin-bottom: 0;
}

.blog-main .blog_thumbnail.b-m-wrap {
    margin-top: 60px;
}

.page-wrapper .di-blog-detail.pad-sec-first h1 {
    display: none;
}

.page-wrapper .di-blog-detail.pad-sec-first {
    padding: 30px 0 64px;
}

.di-blog-apps-writer {
    margin-top: 0px;
}

.asl_w_container {
    width: 100%;
    margin: 0px 0px 0px 0px;
    min-width: 200px;
}

.b-m-text {
    padding: 50px 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
}

.b-m-text h2 {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 30px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.b-m-text a:hover,
.b-m-text a:focus,
.b-m-text h2:hover,
.b-m-text h2:focus {
    color: var(--color-primary);
}

.b-m-text p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.b-m-wrap {
    border-radius: 20px;
    background-color: var(--color-light);
    -webkit-box-shadow: 0px 4px 20px -10px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 4px 20px -10px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    margin-top: 100px;
    display: block;
}

.b-m-wrap:hover,
.b-m-wrap:focus,
.b-m-wrap:visited,
.b-m-wrap:active {
    color: #000;
}

.b-m-wrap {
    margin-top: 60px;
}

.a-b-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.a-b-list {
    width: calc(100% - 350px);
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc(100% - 435px);
    flex: 0 0 calc(100% - 350px);
    max-width: calc(100% - 350px);
    padding-right: 30px;
}

.a-b-list .col-md-6:last-child,
.a-b-list .col-md-6:nth-last-child(2),
.a-b-list .col-md-12:nth-last-child(3) {
    margin-top: 50px;
}

.a-b-list .row>* {
    margin-top: 60px;
}

.latest-posts {
    width: 350px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 435px;
    flex: 0 0 350px;
    max-width: 350px;
    background-color: var(--color-light);
    border-radius: 20px;
    padding: 60px 20px 20px 15px;
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
    margin-top: 90px;
    box-shadow: 0px 4px 20px -10px rgba(0, 0, 0, 0.25);
    background: linear-gradient(272.81deg, #73B2DB 8.01%, #418CBD 105.34%);
}

.latest-posts>h4 {
    background-color: #02548b;
    border-radius: 20px;
    color: var(--color-light);
    -webkit-box-shadow: 0px 4px 20px -10px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 4px 20px -10px rgba(0, 0, 0, 0.25);
    font-size: 25px;
    line-height: 1;
    font-weight: 400;
    padding: 25px 15px;
    text-align: center;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.all-blogs .pagination {
    justify-content: center;
    background-color: #eaf7ff80;
    padding-top: 10px;
    padding-bottom: 10px;
}

.all-blogs .pagination .page-numbers:not(:last-child) {
    margin-right: 10px;
}

.all-blogs .pagination .page-numbers {
    /* background-color: #418cbd5e; */
    min-width: 33px;
    text-align: center;
    border-radius: 3px;
    padding: 3px;
    display: flex;
    margin-left: 15px;
    align-items: center;
    justify-content: center;
}

.all-blogs .pagination .page-numbers.prev,
.all-blogs .pagination .page-numbers.prev:hover,
.all-blogs .pagination .page-numbers.next:hover,
.all-blogs .pagination .page-numbers.next {
    background-color: transparent;
}


.all-blogs .pagination .page-numbers.current {
    background-color: var(--color-primary);
    color: #fff;
}

.blog-search {
    position: relative;
}

.blog-search .is-form-style input.is-search-input {
    margin: 0;
    padding: 18px;
    padding-right: 42px;
    height: 50px;
    border: 2px solid #4a89bf !important;
    box-shadow: 0 0 0 0 #b5b5b5 inset;
    border-radius: 30px;
    width: auto;
    background: #fff;
    overflow: hidden;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    width: 100%;
    min-width: 200px;
}

.is-form-style input.is-search-input::placeholder {
    font-weight: normal;
    font-size: 12px;
    color: rgba(0, 0, 0, .6) !important;
}

.is-form-style .is-search-submit path {
    fill: #4a89bf;
}

div.is-ajax-search-result {
    padding: 4px !important;
    background: #fff !important;
    border-radius: 3px !important;
    border: 0 solid #b5b5b5 !important;
    border-radius: 0 0 0 0 !important;
    box-shadow: 0 0 3px -1px rgba(0, 0, 0, .3) !important;
    z-index: 1;
}

.is-ajax-search-result .is-ajax-search-post:hover {
    background: #4792c257 !important;
}

.is-form-style button.is-search-submit {
    background: none;
    border: none;
    position: absolute;
    bottom: -35px;
    right: 0px;
}

.is-form-style input.is-search-submit,
.is-search-icon {
    background: none;
    border: none;
    position: absolute;
    bottom: 40px;
    right: 10px;
}

.is-search-sections .left-section img {
    border-radius: 5px;
}

.is-search-icon:hover,
form.is-form-style input.is-search-submit:hover {
    background: none;
}

.blog-container {
    background-color: var(--color-light);
    border-radius: 30px;
    overflow: hidden;
    -webkit-box-shadow: 0px 4px 20px -10px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 4px 20px -10px rgba(0, 0, 0, 0.25);
    display: block;
    height: 100%;
}

.blog-container:hover,
.blog-container:focus {
    color: var(--color-primary);
}

.blog-container.blog-full-width {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.blog-container.blog-full-width .blog-img {
    width: 58%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 58%;
    flex: 0 0 58%;
    max-width: 58%;
    background-color: #f5f5f5;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.blog-container.blog-full-width .blog-text {
    width: 42%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 42%;
    flex: 0 0 42%;
    max-width: 42%;
    padding: 100px 15px;
}

.blog-container.blog-full-width .blog-text .img-profile {
    top: 70px;
}

.blog-img picture,
.blog-img img {
    height: 100%;
    object-fit: cover;
}

.blog-img img {
    max-height: 200px;
}

.blog-container.blog-full-width .blog-img img {
    object-position: 28% 0;
}

.blog-text {
    padding: 30px 15px;
    text-align: center;
    position: relative;
}

.blog-text .img-profile {
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border: 3px solid #fff;
}

.blog-text .h4 {
    margin: 0 0 10px 0;
    line-height: 1.2;
    font-size: 18px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 600;
}

.blog-container.blog-full-width .blog-text {
    width: 42%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 42%;
    flex: 0 0 42%;
    max-width: 42%;
    padding: 100px 15px;
}

.blog-container.blog-full-width .blog-text .img-profile {
    top: 70px;
}

.blog-text p {
    color: var(--color-secondary);
	margin-bottom:0;
}

.on-hover-scale picture img {
    -webkit-transition: 0.4s ease;
    -o-transition: 0.4s ease;
    transition: 0.4s ease;
    width: 100%;
/*     height: 500px; */
	aspect-ratio:650/355;
    object-fit: cover;
}

.b-by .di-text-blue {
    font-weight: 500;
}

.b-date {
    color: #969696;
    font-size: 15px;
}

.b-by {
    color: var(--color-secondary-lighter);
    font-size: 15px;
}

.b-m-by,
.b-date,
.blog-text .img-profile,
.b-by {
    display: none;
}

div#search-results {
    position: absolute;
    z-index: 999;
    height: 200px;
    overflow-y: auto;
    padding: 4px;
    background: unset;
    border: unset;
    border-radius: 0px;
    box-shadow: unset;
    margin-top: 20px;
}

div#search-results #search-results-list .search-result-item a {
    display: flex;
    gap: 20px;
}

div#search-results #search-results-list .search-result-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

div#search-results #search-results-list .search-result-item a {
    position: unset;
}

div#search-results #search-results-list .search-result-item .search-result-text h3 {
    font-weight: normal;
    color: #2e6bbc;
    font-size: 14px;
    line-height: 20px;
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
}

.is-form-style.is-form-style-3 label {
    width: 100% !important;
} 
/* @media(max-width: 1399px) {
    .on-hover-scale picture img {
        height: 350px;
    }
} */ 
.blog-main .blog_thumbnail.b-m-wrap img{
	height:100%;
}
@media(max-width: 991px) {
    .a-b-list {
        width: calc(100% - 40%);
        -ms-flex: 0 0 calc(100% - 40%);
        flex: 0 0 calc(100% - 40%);
        max-width: calc(100% - 40%);
    }

    .latest-posts {
        width: 40%;
        -ms-flex: 0 0 40%;
        flex: 0 0 40%;
        max-width: 40%
    }

/*     .on-hover-scale picture img {
        min-height: 250px;
        height: 100%;
    } */

    .a-b-list .row>* {
        margin-top: 40px;
    }
}


@media(max-width: 767px) {
    .blog-main .blog_thumbnail.b-m-wrap {
        margin-top: 20px;
    }

    .a-b-list {
        width: 100%;
        max-width: 100%;
    }

    .latest-posts {
        width: 100%;
        max-width: 100%;
    }

    .a-b-list {
        padding-right: 0px;
    }

    .a-b-wrap {
        display: block;
    }

    .blog-main .heading-container h1 {
        margin-bottom: 30px;
    }


    .a-b-list .row>* {
        margin-top: 30px;
    }

    .is-form-style input.is-search-submit,
    .is-search-icon {
        bottom: 40px;
        right: 0px;
    }

    .first-row .col-md-7 {
        order: 0;
        /* image first */
    }

    .first-row .col-md-5 {
        order: 1;
        /* text second */
    }

    .b-m-text {
        padding: 30px 15px;
    }

    .b-m-text h2,
    .b-m-text p {
        text-align: center;
    }

    .b-m-text h2 {
        margin: 10px 0;
    }
}