div#simpleModal.opening-modal {
    display: flex;
    align-items: center;
    justify-content: center;
}

#simpleModal.opening-modal .modal-body {
    position: relative;
    padding: 0;
}

#simpleModal.opening-modal button#\#btnModeClose {
    position: absolute;
    right: 5px;
}

div.block-content,
div.sidebar {
    padding-top: 0;
}

.news-details {
    padding-top: 30px;
}

.ticker-news-box span.breaking-news {
    line-height: 0;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left .ticker-controls {
    padding-left: 6px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
}

.w-home-slider img {
    object-fit: cover;
    object-position: top;
}

.post-tags i {
    margin-right: 9px;
}

footer .posts-widget ul.list-posts>li img {
    object-fit: cover;
    object-position: top;
}

.single-post-box .title-post .post-tags li img {
    width: 35px;
    border-radius: 50%;
}

.single-post-box .title-post .post-tags li i,
.single-post-box .title-post .post-tags li a {
    font-size: 12px;
    color: #000
}

.nav-list-container.megamenu-items .navbar-nav>li .megadropdown {
    display: none;
}

.nav-list-container.megamenu-items .navbar-nav>li:hover .megadropdown {
    display: block;
}

.nav-list-container.megamenu-items .navbar-nav li.drop ul.dropdown li a {
    display: inline-block;
    text-decoration: none;
    transition: all 0.02s ease-in-out !important;
    -moz-transition: all 0.02s ease-in-out !important;
    -webkit-transition: all 0.02s ease-in-out !important;
    -o-transition: all 0.02s ease-in-out !important;
    display: block;
    color: #999999;
    font-size: 11px;
    font-family: "Ganashakti", "Lato", sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    padding: 15px 20px;
    background: #ffffff;
}

button.close-popup {
    background: #c91c21;
    border: none;
    border-radius: 50%;
    box-shadow: 0 0 5px 1px rgb(0 0 0 / 56%);
    color: #fff;
    padding: 5px 10px;
    position: absolute;
    right: -15px !important;
    top: -15px;
}

button.close-popup:after {
    content: 'X';
}

.sidebar .tab-posts-widget .tab-pane ul.list-posts>li img {
    object-fit: cover;
}

.khabor-ajker.list-posts li img {
    object-fit: cover;
}

.khabor-ajker.list-posts li .post-content h2 a {
    height: 40px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.block-content.non-sidebar .title-section {
    margin-top: 1.5rem;
}

.block-content.non-sidebar .title-section h1 {
    font-size: 22px;
    font-weight: bold;
    padding-left: 1.4rem;
}

.block-content.non-sidebar .news-post.standard-post2 .post-gallery img {
    height: 200px;
    object-fit: cover;
}

.block-content.non-sidebar .news-post.standard-post2 .post-title h2 {
    height: 4rem;
    display: flex;
    align-items: center;
}

.block-content.non-sidebar .news-post.standard-post2 .post-title h2 a {
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 18px;
}

.block-content.non-sidebar .news-post.standard-post2 {
    position: relative;
}

.block-content.non-sidebar .news-post.standard-post2 .post-content p {
    position: absolute;
    top: 172px;
    color: #fff;
}

.top-line ul.top-line-list li:last-child.dropdown span {
    margin-left: 10px;
    margin-top: -5px;
}

.top-line ul.top-line-list li:last-child.dropdown .user-dropdown {
    margin-right: 0;
    width: 100%;
    text-align: center;
}

.top-line ul.top-line-list li:last-child.dropdown .user-dropdown li {
    margin: 0;
    width: 100%;
}

.top-line ul.top-line-list li:last-child.dropdown .user-dropdown li a {
    width: 100%;
}

.top-line ul.top-line-list li:last-child.dropdown .user-dropdown li::before {
    display: none;
}

.top-line ul.top-line-list li:last-child.dropdown .user-dropdown li:hover a {
    color: #c91c21
}

.news-post.image-post2 .w-popular-news img {
    object-fit: cover;
}

form.navbar-form.navbar-right.search-box input {
    font-size: 14px;
    padding: 8px;
}

#floatingSocialShare .top-right {
    top: 50%;
}

.image-post-slider ul.bxslider .image-post2 iframe {
    width: 100% !important;
}

.contact-form-box form input {
    font-size: 15px;
    line-height: 2;
    padding: 5px 20px;
}

.contact-form-box form #submit-contact {
    padding: 7px 10px;
    line-height: 1.5;
}

/* .formobile {
    height: 60px;
    overflow: scroll;
    margin-top: 10px;
} */

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

    .heading-news2 .ticker-news-box,
    section.heading-news .heading-news-box>.image-post:nth-last-of-type(-n+6),
    section.ticker-news {
        display: block !important;
        padding: 15px 0 0;
    }
}

@media only screen and (max-width: 600px) {
    .sidebar.small-sidebar.small-side-panel {
        display: block;
    }

    .logo-advertisement .w-nav-right {
        margin-bottom: 1rem;
    }

    .logo-advertisement .w-nav-right a {
        margin: 0;
        font-size: 18px;
        width: 25% !important;
    }

    .logo-advertisement .navbar-toggle.collapsed {
        border-color: #fff;
        background: #c91c21;
    }

    .logo-advertisement .navbar-default .navbar-toggle .icon-bar {
        border-color: #fff;
    }

    .logo-advertisement .navbar-toggle .icon-bar {
        background: #c91c21;
    }

    .logo-advertisement .navbar-toggle.collapsed .icon-bar {
        background: #fff;
    }

    div.block-content {
        padding: 10px 0;
    }

    .top-news {
        max-height: 250px;
    }

    .top-news .bx-wrapper {
        height: 100%;
    }

    .top-news .bx-wrapper .bx-viewport {
        height: 250px !important;
    }

    .top-news .news-post.image-post.w-home-slider {
        height: 250px;
    }

    .top-news .news-post img {
        object-fit: cover;
        object-position: top;
        height: 100%;
    }

    .feature-news .image-post-slider {
        height: 250px;
        margin-bottom: 2rem;
    }

    .feature-news .image-post-slider .bx-wrapper {
        height: 100%;
    }

    .feature-news .image-post-slider .bx-viewport {
        height: 250px !important;
    }

    .feature-news .image-post-slider ul.bxslider .image-post2 {
        height: 250px !important;
    }

    .feature-news .image-post-slider ul.bxslider .image-post2 .w-home-slider {
        height: 100%;
    }

    .feature-news ul.bxslider .news-post img {
        object-fit: cover;
        object-position: top;
        height: 100%;
    }

    .grid-box ul.list-posts {
        margin-bottom: 10px !important;
    }

    .bottom-carousel .news-post img {
        height: 175px;
        object-fit: cover;
    }

    .bottom-carousel {
        margin-bottom: 0;
    }

    .sidebar .widget {
        margin-bottom: 15px;
    }

    .image-post-slider ul.bxslider .image-post2 iframe {
        width: 100%;
    }

    iframe {
        width: 100% !important;
        height: 250px !important;
    }

    button.close-popup {
        right: -5px !important;
        top: -10px;
    }

    .heading-news2 .ticker-news-box,
    section.heading-news .heading-news-box>.image-post:nth-last-of-type(-n+6),
    section.ticker-news .container {
        padding: 0;
        position: relative;
    }

    .heading-news2 .ticker-news-box,
    section.heading-news .heading-news-box>.image-post:nth-last-of-type(-n+6),
    section.ticker-news .container .ticker-news-box .ticker-wrapper.has-js {
        margin-left: 0;
    }

    .heading-news2 .ticker-news-box,
    section.heading-news .heading-news-box>.image-post:nth-last-of-type(-n+6),
    section.ticker-news .container .ticker-news-box .ticker-wrapper .ticker-controls {
        position: absolute;
        right: 0;
    }

    /* header-css for mobile */
    .top-line ul.top-line-list li {
        margin: 0;
        padding-bottom: .5rem;
    }

    .top-line ul.top-line-list {
        width: 100%;
        text-align: center;
        position: relative;
    }

    .top-line ul.top-line-list li:before {
        border-left: none;
    }

    .navbar-default .advertisement,
    .top-line {
        display: flex;
    }


    .top-line ul.top-line-list li:nth-child(1) {
        border-bottom: 1px dotted #777;
        padding-bottom: 5px;
        margin-bottom: 5px;
    }


    .top-line ul.top-line-list li:nth-child(2) {
        border-bottom: 1px dotted #777;
        padding-bottom: 5px;
        margin-bottom: 5px;
        order: 3;
    }


    .top-line ul.top-line-list li:nth-child(3) {
        order: 2;
    }

    .logo-advertisement .w-nav-right {
        height: 50px;
    }

    .logo-advertisement .w-nav-right a {
        padding: 2px 5px;
        border: 1px solid #e6e6e6;
        width: 35% !important;
        text-align: center;
        border-radius: 5px;
    }

    .navbar-brand,
    header.third-style .navbar-brand {
        padding: 8px 10px !important;
    }

    .logo-advertisement .navbar-toggle.collapsed {
        margin-top: 8px !important;
        margin-bottom: 5px !important;
    }

    .top-line ul.top-line-list li:last-child {
        position: inherit;
    }

    /* .top-line ul.top-line-list li:last-child ul {
        width: 40%;
        display: inline-grid;
        text-align: center;
        right: 0;
        left: auto;
    } */

    .open>.dropdown-menu {
        width: 40%;
        display: inline-grid;
        text-align: center;
        right: 0;
        left: auto;
    }

    .top-line ul.top-line-list li:last-child ul li:last-child {
        border-bottom: none;
        position: initial;
    }

    /* .header-ads .adsbygoogle {
        display:inline-block;
        width:250px !important;
        height:90px;
    } */


    .header-ads .adsbygoogle {
        height: 60px !important;
        /* background: red; */
        overflow: scroll;
        margin-top: 10px;
    }


    .image-post .hover-box .inner-hover h2 a,
    .image-post .hover-box .inner-hover p {

        /* background-color: #c91c21 !important; */
        font-size: 2rem !important;

    }

    .image-post2 .hover-box h2 a {

        /* background-color: #c91c21 !important; */
        font-size: 2rem !important;
    }

    .khabor-ajker.list-posts li .post-content h2 a {

        /* background-color: #c91c21 !important; */
        font-size: 2rem !important;
    }

    .sidebar .review-widget ul.review-posts-list li h2 a {

        /* background-color: #c91c21 !important; */
        font-size: 2rem !important;
    }

    .image-post2 .hover-box h2 a {

        /* background-color: #c91c21 !important; */
        font-size: 2rem !important;
    }

    ul.list-posts>li .post-content h2 a {

        /* background-color: #c91c21 !important; */
        font-size: 2rem !important;
    }

    .sidebar .categories-widget ul.category-list li a,
    .sidebar .categories-widget ul.category-list li a span {

        /* background-color: #c91c21 !important; */
        font-size: 2rem !important;
    }

    .sidebar .tab-posts-widget ul.nav-tabs li a {

        /* background-color: #c91c21 !important; */
        font-size: 2rem !important;
    }


}

.navbar-form input[type=text] {
    color: #333;
}

#search-submit {
    background: red;
    padding: 8px;
    top: 4px;
    right: 4px;
    color: #fff;
    border-radius: 5px;
    box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 26%);
}


.post-gallery img {
    cursor: pointer;
    transition: 0.3s;
}

.post-gallery img:hover {
    opacity: 0.7;
}

/* The Modal (background) */
.lightbox {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

/* Modal Content (image) */
.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Add Animation - Zoom in the Modal */
.lightbox-content {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}