@media (max-width:1199.9px) {
    .offcanvas-body-custom .ul-offcanvas li {
        margin: 20px;
        display: block;
    }

    .offcanvas-body-custom .ul-offcanvas li a {
        color: #007481;
    }

    .parent-banner {
        /* width: 58%; */
        height: auto;
        font-size: 12px;
        flex-direction: column !important;
    }

    .parent-swiper1 {
        height: 400px;
    }

    .news-position {
        right: 0;
        top: 0;
    }

    /* multi-level bootstrap menu */
    .main-navigation {
        display: flex;
        flex-direction: column;
    }

    #main-menu ul li {
        margin: 0;
    }

    #main-menu .dropdown-menu {
        position: static !important;
    }
    /* multi-level bootstrap menu */
}

@media (max-width:991.9px) {
    .ul-services li {
        margin: 1.4rem 0.5rem;
        font-size: 14px;
        display: flex;
        flex-direction: column;
    }
}

@media(min-width:766px)and(max-width:998px) {

    .search-icon-mob {
        text-align: justify;
    }

    .parent-swiper1 {
        height: 300px;
    }

    .d-none-s {
        display: none;
    }

    .font-re {
        font-size: 17px;
    }

    .parent-swiper2 {
        height: 411px;
    }

    .parent-nav-pill {
        overflow-x: scroll;
        white-space: nowrap;
        text-align: justify;
    }

    .parent-nav-pill ul {
        flex-wrap: nowrap;
    }

    .nav-pills li {
        display: inline;
    }

    .parent-banner {
        height: 80px;
        width: 100%;
        border-radius: 12px;
        overflow: hidden;
    }

    .parent-swiper-section4 {
        height: 370px;
    }

    .modal-video-sizing {
        height: 340px;
    }

    .parent-swiper-section5 {
        height: 370px;
    }

    .parent-swiper-section5 .swiper-button-next.swiper-button-next-sec5 {
        right: 73%;
    }

    .img-mayor {
        width: 150px;
        height: 165px;
        top: -154px;
        right: 6rem;
    }

    .modal-body-custom .modal-title {
        font-size: 18px;
    }

    .custom-btn.custom-btn-new.custom-btn-new-5 {
        padding: 8px 40px;
    }

    .img-slide-1 {
        width: auto;
    }
}

@media (max-width: 767.9px) {
    .news-position {
        position: relative;
        margin-top: 11em !important;
    }

    .parent-banner {
        width: 100%;
        text-align: center;
        /* height: 50px; */
        height: auto;
    }

    .ul-services li {
        margin: 1rem 0rem;
        font-size: 12px;
        display: flex;
        flex-direction: column;
    }

    .prouduct-category {
        height: 100%;
    }

    .img-news-comments {
        height: 11rem;
        width: 33%;
    }

    .Shoar {
        font-size: var(--Isfportal-font-size-12);
        top: 0;
        z-index: 2;
        height: 2rem;
    }

    .design-by {
        font-size: 9px;
    }

    #weather-pannel {
        display: none;
    }

    .logo {
        width: 100%;
        height: auto;
    }

    .top-header-news {
        height: 2.5rem;
    }

    .top-header {
        height: 2rem;
        padding-left: 0;
    }

    .top-header-news {
        line-height: 2;
    }

    .parent-swiper1 {
        height: 250px;
    }

    .box-slide-nav-pill {
        width: 140px;
        height: 140px;
    }

    .box-slide-nav-pill img {
        width: 50px;
        height: 50px;
    }

    .box-slide-nav-pill:hover .hover-img {
        width: 50px;
        height: 50px;
    }

    .parent-swiper-section5 .swiper-button-next.swiper-button-next-sec5 {
        right: 69%;
    }

    .img-mayor {
        width: 130px;
        height: 155px;
        top: -144px;
        right: 3rem;
    }

    .Shoar {
        width: 100%;
    }

    .ul-footer {
        padding-left: 0;
    }

    .ul-footer2 {
        margin-right: 0;
        padding-left: 0;
    }

    .ul-footer2.ul-footer2-custom {
        padding-right: 0;
    }

    .parent-footer {
        border-top-right-radius: 15%;
        border-top-left-radius: 15%;
    }

    .custom-btn.custom-btn-new.custom-btn-new-5 {
        padding: 10px 26px;
    }

    .custom-btn.custom-btn-new {
        padding: 10px 40px;
    }
}

@media (max-width:590px) {
    .parent-swiper-nav-pill .swiper-button-next.swiper-button-next-nav-pill {
        right: -10px;
    }

    .parent-swiper-nav-pill .swiper-button-prev.swiper-button-prev-nav-pill {
        left: -10px;
    }
}

@media (max-width: 576px) {
    .custom-m {
        display: block;

    }

    .search-icon,
    .setting-icon,
    .icon-nav {
        width: 18px;
        height: 18px;
    }

    .statistics-span span {
        font-size: var(--Isfportal-font-size-14);
    }

    .nav-main-btn {
        right: 0;
    }

    .search-icon-mob {
        padding-right: 0;
    }

    .search-icon-mob img {
        margin: 0;
    }

    #Newstring {
        font-size: var(--Isfportal-font-size-15);
    }

    .p-logo {
        font-size: 16px;
    }

    .sub-p-logo {
        font-size: 12px;
    }

    .top-header-news {
        height: 2rem;
    }

    .parent-swiper1 {
        height: 180px;
    }

    .custom-btn {
        padding: 10px;
        font-size: 16px;
    }

    .parent-swiper2 {
        height: auto;
    }

    .custom-btn-nav-pill span {
        font-size: 16px;
    }

    .hr-nav-pill {
        width: 15px;
    }

    .custom-box-nav-pill {
        padding: 5px;
    }

    .box-slide-nav-pill {
        width: 125px;
        height: 125px;
    }

    .box-slide-nav-pill img {
        width: 45px;
        height: 45px;
    }

    .box-slide-nav-pill:hover .hover-img {
        width: 45px;
        height: 45px;
    }

    .box-slide-nav-pill p {
        font-size: 16px;
    }

    .parent-swiper-section4 {
        height: 315px;
    }

    .parent-text-swiper {
        bottom: 15px;
        padding: 0 15px;
    }

    .parent-text-swiper .title {
        font-size: 14px;
    }
    
    .parent-text-swiper .text {
        font-size:12px;
    }

    .hr-nav-pill {
        margin-top: 17px;
    }

    .custom-btn.custom-btn-new {
        padding: 10px 18px;

    }

    .parent-swiper-section5 .swiper-button-next.swiper-button-next-sec5 {
        right: 62%;
    }

    .modal-video-sizing {
        height: 280px;
    }

    .text-post-card {
        bottom: 7px;
    }

    .text-post-card p {
        font-size: 16px;
    }

    .parent-swiper-section5 {
        height: 350px;
    }

    .list-group-custom {
        padding: 15px 5px;
        height: 350px;
        width: 100%;

    }

    .list-group-custom .list-group-item img {
        width: 20px;
        height: 20px;
        margin-left: 7px;
    }

    .tab-content-customize {
        height: 350px;
        right: -10px;
        padding: 15px;
    }

    .tab-content-customize ul {
        padding-left: 0;
        padding-right: 15px;
    }

    .list-group-custom .list-group-item.active {
        right: 20px;
    }

    .list-group-custom .list-group-item {
        font-size: 14px;
    }

    .img-mayor {
        width: 125px;
        height: 147px;
        top: -118px;
        right: 2rem;
    }

    .custom-btn.custom-btn-new.custom-btn-new-5 {
        padding: 8px 7px;
        font-size: 14px;
    }

    .ul-footer2.ul-footer2-custom {
        padding-right: 20px;
    }

    .ul-footer {
        padding-right: 20px;
    }

    .ul-footer2 {
        padding-right: 20px;
    }

    .design-by {
        font-size: 12px;
    }

    .modal-body-custom .modal-title.modal-title-search {
        font-size: 16px;
    }

    .input-search {
        font-size: 16px;
    }

    .custom-box-nav-pill img {
        width: 25px;
    }

    .parent-banner {

        height: auto;
        font-size: 12px;
        width: 96%;
    }

    .img-mayoor {
        height: auto;

    }

    .custom-p {
        padding: 0;
    }

    .custom-btn.custom-btn-new.custom-btn-new-5 {
        padding: 10px 10px;
        font-size: 16px;
    }

    .m-auto-responsive {
        margin: auto;
    }

    .tab-content-customize ul li {
        white-space: nowrap
    }

    .tab-content-customize .scroll-custom {
        overflow-y: scroll;
        white-space: nowrap;
        height: 334px;
    }

    .pr-cu-re {
        padding-right: 20px;
    }

    .p-size {
        font-size: 12px;
    }
    /* .p1-news {
        font-size: 10px;
    } */
    .img-news-comments {
        height: 9rem;
        width: 40%;
    }

}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    .categories-col,
    .services-col {
        margin-top: 2em;
    }

    .parent-swiper2 .mySwiper2 .swiper-button-custom {
        width: 35px;
        height: 35px;
    }

    .parent-swiper2 .mySwiper2 .swiper-button-custom::after {
        font-size: 16px;
    }

    .parent-banner {
        flex-direction: column !important;
    }
    
    .parent-swiper-section4 .img-swiper-section4 {
        height: 100%;
    }
}
