.filter-div .btn.btn-primary-outline.filter-select {
    width: 100%
}
/*navbar*/
@media (max-width: 991.98px) {
    #MView, button.navbar-toggler {
        display: block !important;
    }

    .search-nav {
        display: none;
    }

    a .search {
        margin-right: 8px !important;
    }

    #web-content {
       /* padding-top: 83px;*/
    }

    /*filter select*/
    .section-content-search .btn.btn-secondary {
        width: 100%;
    }

    .filter-button {
        display: block;
    }

    .title-menu {
        overflow-x: scroll;
        white-space: nowrap;
    }

    .btn.weather-forecast-btn-show {
        width: 100%;
    }

    .justify-content-end.btn-control-md {
        justify-content: start !important;
    }

    .pagination-amount select.form-select {
        max-width: 25%;
    }

    .pagination-amount {
        margin-left: 0px;
    }
}

@media (min-width: 992px) {
    .filter-button {
        display: none;
    }
}

/*medium device*/
@media (min-width: 766px) and (max-width: 992px) {
    .img-thumbnail {
        object-fit: cover;
    }

    nav .nav-item.dropdown.dropdown-mega .dropdown-menu {
        width: 100% !important
    }

    .footer-menu.medium {
        justify-content: flex-end;
    }

    /*banner link*/
    .mySlides .img-fluid {
        width: 50%;
        padding-top: 16px;
    }

    .expandImg-width {
        max-width: 90% !important;
    }

    .section-content-info,
    .section-content-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    /*warning area*/
    .carousel-control-prev,
    .carousel-control-next {
        bottom: 40% !important;
        width: 10% !important;
    }

    #warning-carousel .warning_con {
        width: 96% !important;
        padding-left: 3.5rem;
        padding-right: 3.5rem;
    }

    .bg-video-section {
        height: 8rem !important;
    }

    .activity-area.pt-64.pb-32 {
        padding-bottom: 40px !important;
    }

    /*link*/
    #widget-link-area .widget-body .subpage-paragraph h5 {
        min-height: 58px;
    }

    #section-responsive-content-info > #collapseDisplay {
        float: none !important;
        width: 100% !important;
    }

    #section-responsive-content {
        width: 100% !important;
    }
}

/*scroll stop point*/
@media (max-width: 991px) {
    .dropdown-menu.scroll-nav.show {
        position: relative;
    }

    .scroll-nav > .scroll-nav-item.active::before {
        content: none !important;
    }

    .dropdown-toggle::after {
        content: none !important;
    }
}

@media (min-width: 1024px) and (max-width: 1181px) {
    #scroll-content .scroll-nav-title, #scroll-content .scroll-nav-item {
        font-size: 1.265rem !important;
    }
}

@media (max-width: 1200px) {
    /*widget 7 days*/
    .fix_conn {
        overflow-x: auto !important;
    }

    .conn {
        width: 1000px !important;
    }

    .fix_size {
        width: 800px !important;
    }

    .searchbar {
        position: relative;
    }

        .searchbar #search-btn {
            position: absolute;
            right: 0;
            height: 100%;
        }

}

@media (min-width: 1025px) and (max-width: 1440px) {
    .nav-item.dropdown.dropdown-mega .dropdown-menu {
        height: 80vh;
        overflow: auto;
    }

    .dropdown-menu.shadow.show {
        box-shadow: none !important;
    }

    nav .mega-content {
        padding: 0px !important;
    }

    .col-12.col-sm-4.col-md-3.py-4.linkA.MegaLink {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
}

/*back to top*/
#btn-back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 10;
    display: none;
    background-color: #D4DDDC;
    border-color: #D4DDDC;
    color: #8C9795;
    font-size: 18px;
    box-shadow: none;
}

.dropdown-toggle::after {
    display: none !important;
}

#widget-infographic-area .widget-infographic-res {
    padding-bottom: 56px;
}

/*#weather-tabs.weather-tabs{
    padding-left: 16px;
    padding-right: 16px;
}*/

#warning-carousel .warning_con .warning-description {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

/*#warning-carousel .warning_con .warning-title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 76px;
}*/

#warning-carousel .warning_con {
    min-height: 256px;
}

#warning-carousel .warning_con,
#warning-carousel .strom-map,
#warning-carousel .earthquake-map {
    min-height: 256px;
}
